Skip to content

Commit 47530d7

Browse files
committed
C++: Fix query metadata warnings.
1 parent d3485ca commit 47530d7

File tree

10 files changed

+4
-6
lines changed

10 files changed

+4
-6
lines changed

cpp/ql/src/Metrics/Dependencies/ExternalDependencies.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @kind treemap
66
* @treemap.warnOn highValues
77
* @metricType externalDependency
8-
* @precision medium
98
* @id cpp/external-dependencies
109
* @tags modularity
1110
*/

cpp/ql/src/Metrics/Files/FLinesOfCode.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* @treemap.warnOn highValues
88
* @metricType file
99
* @metricAggregate avg sum max
10-
* @precision very-high
1110
* @id cpp/lines-of-code-in-files
1211
* @tags maintainability
1312
* complexity

cpp/ql/src/Metrics/Files/FLinesOfCommentedOutCode.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @treemap.warnOn highValues
66
* @metricType file
77
* @metricAggregate avg sum max
8-
* @precision high
98
* @id cpp/lines-of-commented-out-code-in-files
109
* @tags documentation
1110
*/

cpp/ql/src/Metrics/Files/FLinesOfComments.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* @treemap.warnOn lowValues
88
* @metricType file
99
* @metricAggregate avg sum max
10-
* @precision very-high
1110
* @id cpp/lines-of-comments-in-files
1211
* @tags maintainability
1312
* documentation

cpp/ql/src/Metrics/Files/FLinesOfDuplicatedCode.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* @treemap.warnOn highValues
99
* @metricType file
1010
* @metricAggregate avg sum max
11-
* @precision high
1211
* @id cpp/duplicated-lines-in-files
1312
* @tags testability
1413
* modularity

cpp/ql/src/Metrics/Files/FNumberOfTests.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @treemap.warnOn lowValues
66
* @metricType file
77
* @metricAggregate avg sum max
8-
* @precision medium
98
* @id cpp/tests-in-files
109
* @tags maintainability
1110
*/

cpp/ql/src/external/tests/DefectFromExternalData.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* @name Defect from external data
3+
* @id cpp/external/tests/defects-from-external-data
34
* @description Insert description here...
45
* @kind problem
56
* @problem.severity warning

cpp/ql/src/filters/FilterAutogenerated.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* @description Use this filter to return results only if they are
44
* located in files that are maintained manually.
55
* @kind problem
6+
* @problem.severity recommendation
67
* @id cpp/autogenerated-filter
78
* @tags filter
89
*/

cpp/ql/src/filters/FromSource.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @description Use this filter to return results only if they are
55
* located in files for which we have source code.
66
* @kind problem
7+
* @problem.severity recommendation
78
* @id cpp/from-source-filter
89
* @tags filter
910
*/

cpp/ql/src/filters/Macros.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* macro expansion whose location spans all the lines of
55
* the result's location.
66
* @kind problem
7+
* @problem.severity recommendation
78
* @id cpp/macros-filter
89
* @tags filter
910
*/

0 commit comments

Comments
 (0)