GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CPP: Tag the JPL_C LOC-3 queries. · github/codeql@17560cf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • cpp/ql/src/JPL_C/LOC-3
    • Rule 13
      • ExternDeclsInHeader.ql
      • LimitedScopeFile.ql
      • LimitedScopeFunction.ql
      • LimitedScopeLocalHidesGlobal.ql
    • Rule 14
      • CheckingReturnValues.ql
    • Rule 15
      • CheckingParameterValues.ql
    • Rule 16
      • UseOfAssertionsConstant.ql
      • UseOfAssertionsDensity.ql
      • UseOfAssertionsNonBoolean.ql
      • UseOfAssertionsSideEffect.ql
    • Rule 17
      • BasicIntTypes.ql
    • Rule 18
      • CompoundExpressions.ql
    • Rule 19
      • NoBooleanSideEffects.ql
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 13/ExternDeclsInHeader.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 13/ExternDeclsInHeader.ql
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @kind problem
55
* @id cpp/jpl-c/extern-decls-in-header
66
* @problem.severity warning
7+
* @tags maintainability
78
*/
89

910
import cpp
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 13/LimitedScopeFile.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 13/LimitedScopeFile.ql
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
* @description Global variables that are not accessed outside their own file should be made static to promote information hiding.
44
* @kind problem
55
* @id cpp/jpl-c/limited-scope-file
6-
* @problem.severity warning
6+
* @problem.severity recommendation
7+
* @precision low
8+
* @tags maintainability
9+
* modularity
710
*/
811

912
import cpp
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 13/LimitedScopeFunction.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 13/LimitedScopeFunction.ql
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
* @description Global and file-scope variables that are accessed by only one function should be scoped within that function.
44
* @kind problem
55
* @id cpp/jpl-c/limited-scope-function
6-
* @problem.severity warning
6+
* @problem.severity recommendation
7+
* @precision low
8+
* @tags maintainability
79
*/
810

911
import cpp
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 13/LimitedScopeLocalHidesGlobal.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 13/LimitedScopeLocalHidesGlobal.ql
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
* @description A local variable or parameter that hides a global variable of the same name.
44
* @kind problem
55
* @id cpp/jpl-c/limited-scope-local-hides-global
6-
* @problem.severity warning
6+
* @problem.severity recommendation
7+
* @tags maintainability
8+
* readability
79
*/
810
import cpp
911

Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 14/CheckingReturnValues.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 14/CheckingReturnValues.ql
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* @kind problem
55
* @id cpp/jpl-c/checking-return-values
66
* @problem.severity warning
7+
* @tags correctness
8+
* reliability
79
*/
810

911
import cpp
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 15/CheckingParameterValues.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 15/CheckingParameterValues.ql
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* @kind problem
55
* @id cpp/jpl-c/checking-parameter-values
66
* @problem.severity warning
7+
* @tags correctness
8+
* reliability
79
*/
810

911
import JPL_C.Tasks
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsConstant.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsConstant.ql
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* @kind problem
55
* @id cpp/jpl-c/use-of-assertions-constant
66
* @problem.severity warning
7+
* @tags maintainability
8+
* reliability
79
*/
810

911
import semmle.code.cpp.commons.Assertions
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsDensity.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsDensity.ql
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
* @description All functions of more than 10 lines should have at least one assertion.
44
* @kind problem
55
* @id cpp/jpl-c/use-of-assertions-density
6-
* @problem.severity warning
6+
* @problem.severity recommendation
7+
* @tags maintainability
8+
* reliability
79
*/
810

911
import semmle.code.cpp.commons.Assertions
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsNonBoolean.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsNonBoolean.ql
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @kind problem
55
* @id cpp/jpl-c/use-of-assertions-non-boolean
66
* @problem.severity warning
7+
* @tags correctness
78
*/
89

910
import semmle.code.cpp.commons.Assertions
Collapse file

‎cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsSideEffect.ql‎

Copy file name to clipboardExpand all lines: cpp/ql/src/JPL_C/LOC-3/Rule 16/UseOfAssertionsSideEffect.ql
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @kind problem
55
* @id cpp/jpl-c/use-of-assertions-side-effect
66
* @problem.severity warning
7+
* @tags correctness
78
*/
89

910
import semmle.code.cpp.commons.Assertions

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.