Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: fix
---
* The "Low Rust analysis quality" query (`rust/diagnostic/database-quality`) has been tuned so that it won't trigger on databases that have extracted normally. This will remove spurious messages of "Low Rust analysis quality" on the CodeQL status page.
6 changes: 2 additions & 4 deletions rust/ql/src/queries/telemetry/DatabaseQualityDiagnostics.ql
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ import codeql.util.Unit
class DbQualityDiagnostic extends Unit {
DbQualityDiagnostic() {
exists(float percentageGood |
CallTargetStatsReport::percentageOfOk(_, percentageGood)
CallTargetStatsReport::percentageOfOk(_, percentageGood) and percentageGood < 50
or
MacroCallTargetStatsReport::percentageOfOk(_, percentageGood)
|
percentageGood < 95
MacroCallTargetStatsReport::percentageOfOk(_, percentageGood) and percentageGood < 50
)
}

Expand Down