Merge pull request #9 from calumgrant/cs/undeprecated-metric-queries

C#: Add @ids for metric queries
This commit is contained in:
Tom Hvitved
2018-08-06 22:55:39 +02:00
committed by GitHub
52 changed files with 52 additions and 52 deletions

View File

@@ -8,7 +8,7 @@
* @tags testability
* complexity
* maintainability
* @deprecated
* @id cs/cyclomatic-complexity-per-function
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags maintainability
* complexity
* @deprecated
* @id cs/lines-of-code-per-function
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags maintainability
* documentation
* @deprecated
* @id cs/lines-of-comment-per-function
*/
import csharp

View File

@@ -8,7 +8,7 @@
* @tags testability
* complexity
* maintainability
* @deprecated
* @id cs/parameters-per-function
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricType callable
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/statements-per-function
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* documentation
* @deprecated
* @id cs/comment-ratio-per-type
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* complexity
* @deprecated
* @id cs/statement-nesting-depth-per-function
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* documentation
* @deprecated
* @id cs/comment-ratio-per-file
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags testability
* complexity
* @deprecated
* @id cs/average-cyclomatic-complexity-per-file
*/
import csharp

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg sum max
* @deprecated
* @id cs/lines-per-file
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/classes-per-file
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/interfaces-per-file
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/structs-per-file
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/using-namespaces-per-file
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags portability
* modularity
* @deprecated
* @id cs/source-dependency-ratio-per-file
*/
import csharp
import semmle.code.csharp.metrics.Coupling

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg sum max
* @deprecated
* @id cs/vcs/churn-per-file
*/
import csharp
import external.VCS

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg sum max
* @deprecated
* @id cs/vcs/added-lines-per-file
*/
import csharp
import external.VCS

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg sum max
* @deprecated
* @id cs/vcs/deleted-lines-per-file
*/
import csharp
import external.VCS

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg min max
* @deprecated
* @id cs/vcs/authors-per-file
*/
import csharp
import external.VCS

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg min max sum
* @deprecated
* @id cs/vcs/commits-per-file
*/
import csharp
import external.VCS

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg min max
* @deprecated
* @id cs/vcs/co-commits-per-file
*/
import csharp
import external.VCS

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg min max
* @deprecated
* @id cs/vcs/recommits-per-file
*/
import csharp
import external.VCS

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg min max sum
* @deprecated
* @id cs/vcs/recent-commits-per-file
*/
import csharp
import external.VCS

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags changeability
* modularity
* @deprecated
* @id cs/incoming-type-dependencies
*/
import csharp

View File

@@ -8,7 +8,7 @@
* @tags testability
* modularity
* maintainability
* @deprecated
* @id cs/outgoing-type-dependencies
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags changeability
* modularity
* @deprecated
* @id cs/inheritance-depth
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags modularity
* maintainability
* @deprecated
* @id cs/lack-of-cohesion-ck
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg max
* @tags modularity
* @deprecated
* @id cs/lack-of-cohesion-hs
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/functions-per-type
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/events-per-type
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags maintainability
* complexity
* @deprecated
* @id cs/fields-per-type
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/indexers-per-type
*/
import csharp

View File

@@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType reftype
* @metricAggregate avg sum max
* @deprecated
* @id cs/nonconst-fields-per-type
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/properties-per-type
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/statements-per-type
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* complexity
* @deprecated
* @id cs/response-per-type
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags testability
* modularity
* @deprecated
* @id cs/public-functions-per-type
*/
import csharp

View File

@@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags modularity
* maintainability
* @deprecated
* @id cs/type-specialization-index
*/
import csharp

View File

@@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate sum
* @tags reliability
* @deprecated
* @id cs/externs-per-type
*/
import csharp

View File

@@ -1,7 +1,7 @@
/**
* @name Filter: only keep results from source that have been changed since the base line
* @description Exclude results that have not changed since the base line.
* @deprecated
* @id cs/changed-lines-filter
* @kind problem
*/
import csharp

View File

@@ -1,7 +1,7 @@
/**
* @name Filter: only keep results from source that have been changed since the base line
* @description Exclude results that have not changed since the base line.
* @deprecated
* @id cs/changed-lines-metric-filter
* @kind treemap
*/
import csharp

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results from source
* @description Exclude results that do not come from source code files.
* @kind problem
* @deprecated
* @id cs/source-filter
*/
import csharp
import external.DefectFilter

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep metric results from source
* @description Exclude results that do not come from source code files.
* @kind treemap
* @deprecated
* @id cs/source-metric-filter
*/
import csharp
import external.MetricFilter

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results in non-generated files
* @description Exclude results that come from generated code.
* @kind problem
* @deprecated
* @id cs/not-generated-file-filter
*/
import semmle.code.csharp.commons.GeneratedCode
import external.DefectFilter

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep metric results in non-generated files
* @description Exclude results that come from generated code.
* @kind treemap
* @deprecated
* @id cs/not-generated-file-metric-filter
*/
import semmle.code.csharp.commons.GeneratedCode
import external.MetricFilter

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results that are outside of test files
* @description Exclude results in test files.
* @kind problem
* @deprecated
* @id cs/test-file-filter
*/
import csharp
import semmle.code.csharp.frameworks.Test

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results that are outside of test files
* @description Exclude results in test files.
* @kind treemap
* @deprecated
* @id cs/test-file-metric-filter
*/
import csharp
import semmle.code.csharp.frameworks.Test

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results that are outside of test methods
* @description Exclude results in test methods.
* @kind problem
* @deprecated
* @id cs/test-method-filter
*/
import csharp
import semmle.code.csharp.frameworks.Test

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results that are outside of a test method expecting an exception
* @description Exclude results in test methods expecting exceptions.
* @kind problem
* @deprecated
* @id cs/test-method-exception-filter
*/
import csharp
import semmle.code.csharp.frameworks.Test

View File

@@ -2,7 +2,7 @@
* @name Filter: only files recently edited
* @description Filter a defect query to only include results in files that have been changed recently, and modify the message.
* @kind problem
* @deprecated
* @id cs/recently-changed-file-filter
*/
import csharp
import external.DefectFilter

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results from source that have not changed since the base line
* @description Complement of ChangedLines.ql.
* @kind problem
* @deprecated
* @id cs/unchanged-lines-filter
*/
import csharp
import external.ExternalArtifact

View File

@@ -2,7 +2,7 @@
* @name Filter: only keep results from source that have not changed since the base line
* @description Complement of ChangedLinesForMetric.ql.
* @kind treemap
* @deprecated
* @id cs/unchanged-lines-metric-filter
*/
import csharp
import external.ExternalArtifact