mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
Tag 'type-checking'-like quality queries
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
* @name Iterable can be either a string or a sequence
|
||||
* @description Iteration over either a string or a sequence in the same loop can cause errors that are hard to find.
|
||||
* @kind problem
|
||||
* @tags reliability
|
||||
* maintainability
|
||||
* non-local
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
* @problem.severity error
|
||||
* @sub-severity low
|
||||
* @precision high
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
* @description Assigning multiple variables without ensuring that you define a
|
||||
* value for each variable causes an exception at runtime.
|
||||
* @kind problem
|
||||
* @tags reliability
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
* types
|
||||
* @problem.severity error
|
||||
* @sub-severity low
|
||||
* @precision very-high
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* @name Non-iterable used in for loop
|
||||
* @description Using a non-iterable as the object in a 'for' loop causes a TypeError.
|
||||
* @kind problem
|
||||
* @tags reliability
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
* types
|
||||
* @problem.severity error
|
||||
* @sub-severity low
|
||||
* @precision high
|
||||
|
||||
Reference in New Issue
Block a user