Skip to content

Commit 751d62a

Browse files
committed
Rust: Add the metric to rust/diagnostic/database-quality (with a very low threshold for the time being).
1 parent d691c32 commit 751d62a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ private predicate diagnostic(string msg, float value, float threshold) {
1313
CallTargetStatsReport::percentageOfOk(msg, value) and threshold = 50
1414
or
1515
MacroCallTargetStatsReport::percentageOfOk(msg, value) and threshold = 50
16+
or
17+
ExprTypeStatsReport::percentageOfOk(msg, value) and threshold = 20
1618
}
1719

1820
private string getDbHealth() {

0 commit comments

Comments
 (0)