GeezerVison is showing github.com — Update tags for high precision quality queries · github/codeql@a2ff045
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/ConstantLengthComparison.ql +4-1Lines changed: 4 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
5 | 5 | * @kind problem |
6 | 6 | * @problem.severity warning |
7 | 7 | * @id go/constant-length-comparison |
8 | | - * @tags correctness |
| 8 | + * @tags quality |
| 9 | + * reliability |
| 10 | + * correctness |
| 11 | + * external/cwe/cwe-129 |
9 | 12 | * @precision high |
10 | 13 | */ |
11 | 14 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/InconsistentLoopOrientation.ql +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | * @kind problem |
9 | 9 | * @problem.severity error |
10 | 10 | * @id go/inconsistent-loop-direction |
11 | | - * @tags correctness |
| 11 | + * @tags quality |
| 12 | + * reliability |
| 13 | + * correctness |
12 | 14 | * external/cwe/cwe-835 |
13 | 15 | * @precision very-high |
14 | 16 | */ |
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/LengthComparisonOffByOne.ql +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
5 | 5 | * @kind problem |
6 | 6 | * @problem.severity error |
7 | 7 | * @id go/index-out-of-bounds |
8 | | - * @tags reliability |
| 8 | + * @tags quality |
| 9 | + * reliability |
9 | 10 | * correctness |
10 | | - * logic |
11 | | - * quality |
12 | 11 | * external/cwe/cwe-193 |
13 | 12 | * @precision high |
14 | 13 | */ |
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/MissingErrorCheck.ql +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
5 | 5 | * @kind problem |
6 | 6 | * @problem.severity warning |
7 | 7 | * @id go/missing-error-check |
8 | | - * @tags reliability |
9 | | - * correctness |
10 | | - * logic |
11 | | - * quality |
| 8 | + * @tags quality |
| 9 | + * reliability |
| 10 | + * error-handling |
| 11 | + * external/cwe/cwe-252 |
12 | 12 | * @precision high |
13 | 13 | */ |
14 | 14 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/MistypedExponentiation.ql +4-1Lines changed: 4 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
4 | 4 | * @kind problem |
5 | 5 | * @problem.severity warning |
6 | 6 | * @id go/mistyped-exponentiation |
7 | | - * @tags correctness |
| 7 | + * @tags quality |
| 8 | + * reliability |
| 9 | + * correctness |
| 10 | + * external/cwe/cwe-480 |
8 | 11 | * @precision high |
9 | 12 | */ |
10 | 13 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/UnhandledCloseWritableHandle.ql +4-5Lines changed: 4 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | * @problem.severity warning |
8 | 8 | * @precision high |
9 | 9 | * @id go/unhandled-writable-file-close |
10 | | - * @tags maintainability |
11 | | - * correctness |
12 | | - * call |
13 | | - * defer |
14 | | - * quality |
| 10 | + * @tags quality |
| 11 | + * reliability |
| 12 | + * error-handling |
| 13 | + * external/cwe/cwe-252 |
15 | 14 | */ |
16 | 15 |
|
17 | 16 | import go |
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/WhitespaceContradictsPrecedence.ql +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | /** |
2 | 2 | * @name Whitespace contradicts operator precedence |
3 | 3 | * @description Nested expressions where the formatting contradicts the grouping enforced by operator precedence |
4 | | - * are difficult to read and may even indicate a bug. |
| 4 | + * are difficult to read and may indicate a bug. |
5 | 5 | * @kind problem |
6 | 6 | * @problem.severity warning |
7 | 7 | * @id go/whitespace-contradicts-precedence |
8 | | - * @tags maintainability |
| 8 | + * @tags quality |
| 9 | + * reliability |
9 | 10 | * correctness |
10 | 11 | * external/cwe/cwe-783 |
11 | 12 | * @precision very-high |
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/InconsistentCode/WrappedErrorAlwaysNil.ql +3-4Lines changed: 3 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
4 | 4 | * @kind problem |
5 | 5 | * @problem.severity warning |
6 | 6 | * @id go/unexpected-nil-value |
7 | | - * @tags reliability |
8 | | - * correctness |
9 | | - * logic |
10 | | - * quality |
| 7 | + * @tags quality |
| 8 | + * reliability |
| 9 | + * error-handling |
11 | 10 | * @precision high |
12 | 11 | */ |
13 | 12 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/RedundantCode/CompareIdenticalValues.ql +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
5 | 5 | * @kind problem |
6 | 6 | * @problem.severity warning |
7 | 7 | * @id go/comparison-of-identical-expressions |
8 | | - * @tags correctness |
| 8 | + * @tags quality |
| 9 | + * reliability |
| 10 | + * correctness |
9 | 11 | * external/cwe/cwe-570 |
10 | 12 | * external/cwe/cwe-571 |
11 | 13 | * @precision very-high |
|
Collapse file
Copy file name to clipboardExpand all lines: go/ql/src/RedundantCode/DeadStoreOfField.ql +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
4 | 4 | * @kind problem |
5 | 5 | * @problem.severity warning |
6 | 6 | * @id go/useless-assignment-to-field |
7 | | - * @tags maintainability |
| 7 | + * @tags quality |
| 8 | + * maintainability |
| 9 | + * useless-code |
8 | 10 | * external/cwe/cwe-563 |
9 | 11 | * @precision very-high |
10 | 12 | */ |
|