Skip to content

Commit 63d7eac

Browse files
Ensure exactly one subcategory is used
1 parent c8c92a7 commit 63d7eac

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

python/ql/src/Resources/FileNotAlwaysClosed.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
* @name File is not always closed
33
* @description Opening a file without ensuring that it is always closed may lead to data loss or resource leaks.
44
* @kind problem
5-
* @tags efficiency
5+
* @tags quality
6+
* reliability
67
* correctness
7-
* resources
8-
* quality
8+
* performance
99
* external/cwe/cwe-772
1010
* @problem.severity warning
1111
* @sub-severity high

python/ql/src/Variables/LoopVariableCapture/LoopVariableCapture.ql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
* @name Loop variable capture
33
* @description Capturing a loop variable is not the same as capturing its value, and can lead to unexpected behavior or bugs.
44
* @kind path-problem
5-
* @tags correctness
6-
* quality
5+
* @tags quality
6+
* reliability
7+
* correctness
78
* @problem.severity error
89
* @sub-severity low
910
* @precision high

0 commit comments

Comments
 (0)