We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16bacc7 commit 46c9146Copy full SHA for 46c9146
ql/ql/src/queries/style/UnqueryableCode.ql
@@ -2,7 +2,7 @@
2
* @name Unqueryable code
3
* @description Code that cannot affect the outcome of any query is suspicous.
4
* @kind problem
5
- * @problem.severity recommendation
+ * @problem.severity warning
6
* @id ql/unqueryable-code
7
* @precision high
8
*/
@@ -12,4 +12,4 @@ import codeql_ql.style.DeadCodeQuery
12
13
from AstNode node
14
where node = unQueryable()
15
-select node, "Code cannot affect the outcome of any query."
+select node, "Code cannot affect the outcome of any query (including tests)."
0 commit comments