Skip to content

Commit d619a8c

Browse files
authored
Merge pull request #1192 from geoffw0/severity
CPP: Change some query severities
2 parents 8c17278 + 1542fdc commit d619a8c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/ql/src/Best Practices/SloppyGlobal.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* @name Short global name
33
* @description Global variables should have descriptive names, to help document their use, avoid namespace pollution and reduce the risk of shadowing with local variables.
44
* @kind problem
5-
* @problem.severity warning
6-
* @precision high
5+
* @problem.severity recommendation
6+
* @precision very-high
77
* @id cpp/short-global-name
88
* @tags maintainability
99
*/

cpp/ql/src/jsf/4.13 Functions/AV Rule 107.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* @name Function declared in block
33
* @description Functions should always be declared at file scope. It is confusing to declare a function at block scope, and the visibility of the function is not what would be expected.
44
* @kind problem
5-
* @problem.severity warning
6-
* @precision high
5+
* @problem.severity recommendation
6+
* @precision very-high
77
* @id cpp/function-in-block
88
* @tags maintainability
99
* readability

0 commit comments

Comments
 (0)