mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
CPP: Tag metric queries.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg max
|
||||
* @tags modularity
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType reftype
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @metricType externalDependency
|
||||
* @precision medium
|
||||
* @id cpp/external-dependencies
|
||||
* @tags modularity
|
||||
*/
|
||||
|
||||
import ExternalDependencies
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
* @kind source-link
|
||||
* @metricType externalDependency
|
||||
* @id cpp/dependency-source-links
|
||||
* @tags modularity
|
||||
*/
|
||||
|
||||
import ExternalDependencies
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate sum
|
||||
* @tags maintainability
|
||||
*/
|
||||
|
||||
import cpp
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* readability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* readability
|
||||
*/
|
||||
import cpp
|
||||
import semmle.code.cpp.headers.MultipleInclusion
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* modularity
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @precision high
|
||||
* @id cpp/duplicated-lines-in-files
|
||||
* @tags testability
|
||||
* modularity
|
||||
* @id cpp/duplicated-lines-in-files
|
||||
*/
|
||||
import external.CodeDuplication
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* readability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* @tags maintainability
|
||||
* modularity
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
* @id cpp/time-in-frontend-per-file
|
||||
* @metricType fileCompilation
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
* testability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* modularity
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* modularity
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* readability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType file
|
||||
* @metricAggregate avg sum max
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* @treemap.warnOn highValues
|
||||
* @metricType callable
|
||||
* @metricAggregate avg max
|
||||
* @tags maintainability
|
||||
* complexity
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* @kind chart
|
||||
* @id cpp/abstract-namespaces
|
||||
* @chart.type bar
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
* @description Finds namespaces that have an abstractness equal to 0.
|
||||
* @kind tree
|
||||
* @id cpp/concrete-namespaces
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* @kind chart
|
||||
* @id cpp/high-afferent-coupling-namespaces
|
||||
* @chart.type bar
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* @kind chart
|
||||
* @id cpp/high-distance-from-main-line-namespaces
|
||||
* @chart.type bar
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
* @kind chart
|
||||
* @id cpp/high-efferent-coupling-namespaces
|
||||
* @chart.type bar
|
||||
* @tags maintainability
|
||||
* modularity
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* @kind chart
|
||||
* @id cpp/stable-namespaces
|
||||
* @chart.type bar
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* @kind chart
|
||||
* @id cpp/unstable-namespaces
|
||||
* @chart.type bar
|
||||
* @tags maintainability
|
||||
*/
|
||||
import cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user