mirror of
https://github.com/github/codeql.git
synced 2026-02-23 18:33:42 +01:00
Merge pull request #21347 from geoffw0/toolstatus
Rust: Update rust/diagnostic/database-quality
This commit is contained in:
4
rust/ql/src/change-notes/2026-02-18-database-quality.md
Normal file
4
rust/ql/src/change-notes/2026-02-18-database-quality.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* The macro resolution metric has been removed from `rust/diagnostic/database-quality`. This metric was found to be an unreliable indicator of database quality in many cases, leading to false alarms on the tool status page.
|
||||
@@ -12,8 +12,6 @@ import codeql.util.Unit
|
||||
private predicate diagnostic(string msg, float value, float threshold) {
|
||||
CallTargetStatsReport::percentageOfOk(msg, value) and threshold = 50
|
||||
or
|
||||
MacroCallTargetStatsReport::percentageOfOk(msg, value) and threshold = 50
|
||||
or
|
||||
ExprTypeStatsReport::percentageOfOk(msg, value) and threshold = 20
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user