mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Merge pull request #9 from calumgrant/cs/undeprecated-metric-queries
C#: Add @ids for metric queries
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user