Rust: Lower the thresholds in rust/diagnostic/database-quality to more pragmatic numbers.

This commit is contained in:
Geoffrey White
2025-08-28 13:55:20 +01:00
parent 2c2b1e4116
commit 5c90b908cd

View File

@@ -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
)
}