Skip to content

Commit ca41ae0

Browse files
authored
Merge pull request #21347 from geoffw0/toolstatus
Rust: Update rust/diagnostic/database-quality
2 parents 6e8f43c + b08e4e1 commit ca41ae0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* 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.

rust/ql/src/queries/telemetry/DatabaseQualityDiagnostics.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import codeql.util.Unit
1212
private predicate diagnostic(string msg, float value, float threshold) {
1313
CallTargetStatsReport::percentageOfOk(msg, value) and threshold = 50
1414
or
15-
MacroCallTargetStatsReport::percentageOfOk(msg, value) and threshold = 50
16-
or
1715
ExprTypeStatsReport::percentageOfOk(msg, value) and threshold = 20
1816
}
1917

0 commit comments

Comments
 (0)