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
4 changes: 2 additions & 2 deletions cpp/ql/src/Best Practices/SloppyGlobal.ql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @name Short global name
* @description Global variables should have descriptive names, to help document their use, avoid namespace pollution and reduce the risk of shadowing with local variables.
* @kind problem
* @problem.severity warning
* @precision high
* @problem.severity recommendation
* @precision very-high
* @id cpp/short-global-name
* @tags maintainability
*/
Expand Down
4 changes: 2 additions & 2 deletions cpp/ql/src/jsf/4.13 Functions/AV Rule 107.ql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @name Function declared in block
* @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.
* @kind problem
* @problem.severity warning
* @precision high
* @problem.severity recommendation
* @precision very-high
* @id cpp/function-in-block
* @tags maintainability
* readability
Expand Down