mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
C#: Add @ids for metric queries and filter queries.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* @tags testability
|
||||
* complexity
|
||||
* maintainability
|
||||
* @deprecated
|
||||
* @id cs/cyclomatic-complexity-per-function
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* complexity
|
||||
* @deprecated
|
||||
* @id cs/lines-of-code-per-function
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* documentation
|
||||
* @deprecated
|
||||
* @id cs/lines-of-comment-per-function
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* @tags testability
|
||||
* complexity
|
||||
* maintainability
|
||||
* @deprecated
|
||||
* @id cs/parameters-per-function
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricType callable
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/statements-per-function
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* documentation
|
||||
* @deprecated
|
||||
* @id cs/comment-ratio-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* complexity
|
||||
* @deprecated
|
||||
* @id cs/statement-nesting-depth-per-function
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* documentation
|
||||
* @deprecated
|
||||
* @id cs/comment-ratio-per-file
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags testability
|
||||
* complexity
|
||||
* @deprecated
|
||||
* @id cs/average-cyclomatic-complexity-per-file
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @deprecated
|
||||
* @id cs/lines-per-file
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/classes-per-file
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/interfaces-per-file
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/structs-per-file
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/using-namespaces-per-file
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags changeability
|
||||
* modularity
|
||||
* @deprecated
|
||||
* @id cs/incoming-type-dependencies
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* @tags testability
|
||||
* modularity
|
||||
* maintainability
|
||||
* @deprecated
|
||||
* @id cs/outgoing-type-dependencies
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags changeability
|
||||
* modularity
|
||||
* @deprecated
|
||||
* @id cs/inheritance-depth
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags modularity
|
||||
* maintainability
|
||||
* @deprecated
|
||||
* @id cs/lack-of-cohesion-ck
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg max
|
||||
* @tags modularity
|
||||
* @deprecated
|
||||
* @id cs/lack-of-cohesion-hs
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/functions-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/events-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* complexity
|
||||
* @deprecated
|
||||
* @id cs/fields-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/indexers-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @deprecated
|
||||
* @id cs/nonconst-fields-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/properties-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @deprecated
|
||||
* @id cs/statements-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* complexity
|
||||
* @deprecated
|
||||
* @id cs/response-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg sum max
|
||||
* @tags testability
|
||||
* modularity
|
||||
* @deprecated
|
||||
* @id cs/public-functions-per-type
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @metricAggregate avg max
|
||||
* @tags modularity
|
||||
* maintainability
|
||||
* @deprecated
|
||||
* @id cs/type-specialization-index
|
||||
*/
|
||||
import csharp
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @metricType reftype
|
||||
* @metricAggregate sum
|
||||
* @tags reliability
|
||||
* @deprecated
|
||||
* @id cs/externs-per-type
|
||||
*/
|
||||
|
||||
import csharp
|
||||
|
||||
Reference in New Issue
Block a user