Skip to content

Commit c1be4c7

Browse files
committed
C++: Add tags to the leap year + japanese era queries.
1 parent 6d516e0 commit c1be4c7

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

cpp/ql/src/Best Practices/Magic Constants/JapaneseEraDate.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
* @problem.severity warning
66
* @id cpp/japanese-era/exact-era-date
77
* @precision low
8-
* @tags reliability
8+
* @tags maintainability
9+
* reliability
910
* japanese-era
1011
*/
1112

cpp/ql/src/Likely Bugs/Leap Year/Adding365DaysPerYear.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @id cpp/leap-year/adding-365-days-per-year
99
* @precision medium
1010
* @tags leap-year
11+
* correctness
1112
*/
1213

1314
import cpp

cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @id cpp/leap-year/unchecked-after-arithmetic-year-modification
77
* @precision medium
88
* @tags leap-year
9+
* correctness
910
*/
1011

1112
import cpp

cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @id cpp/leap-year/unchecked-return-value-for-time-conversion-function
99
* @precision medium
1010
* @tags leap-year
11+
* correctness
1112
*/
1213

1314
import cpp

0 commit comments

Comments
 (0)