Skip to content

Commit 9a9b01b

Browse files
committed
CPP: Add external/powerof10 tags.
1 parent 30c6637 commit 9a9b01b

23 files changed

+23
-0
lines changed

cpp/ql/src/Power of 10/Rule 1/UseOfGoto.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @problem.severity warning
77
* @tags maintainability
88
* readability
9+
* external/powerof10
910
*/
1011

1112
import cpp

cpp/ql/src/Power of 10/Rule 1/UseOfJmp.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @tags correctness
88
* portability
99
* readability
10+
* external/powerof10
1011
*/
1112

1213
import cpp

cpp/ql/src/Power of 10/Rule 1/UseOfRecursion.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @problem.severity warning
88
* @tags maintainability
99
* readability
10+
* external/powerof10
1011
*/
1112

1213
import cpp

cpp/ql/src/Power of 10/Rule 2/BoundedLoopIterations.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @precision low
99
* @tags correctness
1010
* reliability
11+
* external/powerof10
1112
*/
1213

1314
import cpp

cpp/ql/src/Power of 10/Rule 2/ExitPermanentLoop.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @problem.severity recommendation
77
* @precision low
88
* @tags correctness
9+
* external/powerof10
910
*/
1011

1112
import cpp

cpp/ql/src/Power of 10/Rule 3/DynamicAllocAfterInit.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* @id cpp/power-of-10/dynamic-alloc-after-init
66
* @problem.severity recommendation
77
* @tags resources
8+
* external/powerof10
89
*/
910

1011
import cpp

cpp/ql/src/Power of 10/Rule 4/FunctionTooLong.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @problem.severity recommendation
77
* @tags maintainability
88
* readability
9+
* external/powerof10
910
*/
1011

1112
import cpp

cpp/ql/src/Power of 10/Rule 4/OneStmtPerLine.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @problem.severity recommendation
77
* @tags maintainability
88
* readability
9+
* external/powerof10
910
*/
1011

1112
import cpp

cpp/ql/src/Power of 10/Rule 5/AssertionDensity.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @problem.severity recommendation
77
* @tags maintainability
88
* reliability
9+
* external/powerof10
910
*/
1011

1112
import semmle.code.cpp.commons.Assertions

cpp/ql/src/Power of 10/Rule 5/AssertionSideEffect.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @id cpp/power-of-10/assertion-side-effect
77
* @problem.severity warning
88
* @tags correctness
9+
* external/powerof10
910
*/
1011

1112
import semmle.code.cpp.commons.Assertions

0 commit comments

Comments
 (0)