Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Callables/CCyclomaticComplexity.ql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @tags testability
* complexity
* maintainability
* @deprecated
* @id cs/cyclomatic-complexity-per-function
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Callables/CLinesOfCode.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags maintainability
* complexity
* @deprecated
* @id cs/lines-of-code-per-function
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Callables/CLinesOfComment.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags maintainability
* documentation
* @deprecated
* @id cs/lines-of-comment-per-function
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Callables/CNumberOfParameters.ql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @tags testability
* complexity
* maintainability
* @deprecated
* @id cs/parameters-per-function
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Callables/CNumberOfStatements.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricType callable
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/statements-per-function
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Callables/CPercentageOfComments.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* documentation
* @deprecated
* @id cs/comment-ratio-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Callables/StatementNestingDepth.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* complexity
* @deprecated
* @id cs/statement-nesting-depth-per-function
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FCommentRatio.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* documentation
* @deprecated
* @id cs/comment-ratio-per-file
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FCyclomaticComplexity.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags testability
* complexity
* @deprecated
* @id cs/average-cyclomatic-complexity-per-file
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FLines.ql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType file
* @metricAggregate avg sum max
* @deprecated
* @id cs/lines-per-file
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FNumberOfClasses.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/classes-per-file
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FNumberOfInterfaces.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/interfaces-per-file
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FNumberOfStructs.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/structs-per-file
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FNumberOfUsingNamespaces.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType file
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/using-namespaces-per-file
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/Files/FSelfContainedness.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HChurn.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HLinesAdded.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HLinesDeleted.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HNumberOfAuthors.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HNumberOfChanges.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HNumberOfCoCommits.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HNumberOfReCommits.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/History/HNumberOfRecentChanges.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TAfferentCoupling.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags changeability
* modularity
* @deprecated
* @id cs/incoming-type-dependencies
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TEfferentCoupling.ql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @tags testability
* modularity
* maintainability
* @deprecated
* @id cs/outgoing-type-dependencies
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TInheritanceDepth.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags changeability
* modularity
* @deprecated
* @id cs/inheritance-depth
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TLackOfCohesionCK.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags modularity
* maintainability
* @deprecated
* @id cs/lack-of-cohesion-ck
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TLackOfCohesionHS.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg max
* @tags modularity
* @deprecated
* @id cs/lack-of-cohesion-hs
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TNumberOfCallables.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/functions-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TNumberOfEvents.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/events-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TNumberOfFields.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags maintainability
* complexity
* @deprecated
* @id cs/fields-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TNumberOfIndexers.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/indexers-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TNumberOfNonConstFields.ql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @treemap.warnOn highValues
* @metricType reftype
* @metricAggregate avg sum max
* @deprecated
* @id cs/nonconst-fields-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TNumberOfProperties.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/properties-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TNumberOfStatements.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate avg sum max
* @tags maintainability
* @deprecated
* @id cs/statements-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TResponse.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags maintainability
* complexity
* @deprecated
* @id cs/response-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TSizeOfAPI.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg sum max
* @tags testability
* modularity
* @deprecated
* @id cs/public-functions-per-type
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TSpecialisationIndex.ql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @metricAggregate avg max
* @tags modularity
* maintainability
* @deprecated
* @id cs/type-specialization-index
*/
import csharp

Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/Metrics/RefTypes/TUnmanagedCode.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @metricType reftype
* @metricAggregate sum
* @tags reliability
* @deprecated
* @id cs/externs-per-type
*/

import csharp
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/filters/ChangedLines.ql
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/filters/ChangedLinesForMetric.ql
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/filters/FromSource.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/filters/FromSourceForMetric.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csharp/ql/src/filters/NotGenerated.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading