Skip to content

Commit 6a76a40

Browse files
committed
ruby: adjust change notes
1 parent 2477233 commit 6a76a40

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
category: minorAnalysis
2+
category: majorAnalysis
33
---
4-
* The query `rb/uninitialized-local-variable` now take various guards into account and should produce fewer false positives. It also now comes with a help file.
4+
* The query `rb/uninitialized-local-variable` now only produces alerts when the variable is the receiver of a method call and should produce very few false positives. It also now comes with a help file.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: queryMetadata
33
---
4-
* The query `rb/uninitialized-local-variable` now only produces alerts when it can find local flow; we have adjusted the precision to 'medium'.
4+
* The query `rb/uninitialized-local-variable` now only produces alerts when the variable is the receiver of a method call; we have adjusted the precision to 'high'.

ruby/ql/src/queries/variables/UninitializedLocal.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @tags quality
99
* reliability
1010
* correctness
11-
* @precision medium
11+
* @precision high
1212
*/
1313

1414
import codeql.ruby.AST

0 commit comments

Comments
 (0)