mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Rust: Lower the thresholds in rust/diagnostic/database-quality to more pragmatic numbers.
This commit is contained in:
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user