Skip to content

Commit a075ed5

Browse files
committed
Rust: Remove telemetry about extractor generated paths.
1 parent 1d815b1 commit a075ed5

File tree

2 files changed

+1
-185
lines changed

2 files changed

+1
-185
lines changed

rust/ql/src/queries/telemetry/ExtractorInformation.ql

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import rust
1010
import DatabaseQuality
11-
import RustAnalyzerComparison
1211
import codeql.rust.Diagnostics
1312

1413
predicate fileCount(string key, int value) {
@@ -42,20 +41,6 @@ predicate extractorDiagnostics(string key, int value) {
4241
)
4342
}
4443

45-
predicate pathResolutionCompare(string key, int value) {
46-
exists(string suffix |
47-
PathResolutionCompare::summary(suffix, value) and
48-
key = "Rust-analyzer path resolution comparison: " + suffix
49-
)
50-
}
51-
52-
predicate callGraphCompare(string key, int value) {
53-
exists(string suffix |
54-
CallGraphCompare::summary(suffix, value) and
55-
key = "Rust-analyzer call graph comparison: " + suffix
56-
)
57-
}
58-
5944
from string key, float value
6045
where
6146
(
@@ -69,9 +54,7 @@ where
6954
CallTargetStatsReport::percentageOfOk(key, value) or
7055
MacroCallTargetStatsReport::numberOfOk(key, value) or
7156
MacroCallTargetStatsReport::numberOfNotOk(key, value) or
72-
MacroCallTargetStatsReport::percentageOfOk(key, value) or
73-
pathResolutionCompare(key, value) or
74-
callGraphCompare(key, value)
57+
MacroCallTargetStatsReport::percentageOfOk(key, value)
7558
) and
7659
/* Infinity */
7760
value != 1.0 / 0.0 and

rust/ql/src/queries/telemetry/RustAnalyzerComparison.qll

Lines changed: 0 additions & 167 deletions
This file was deleted.

0 commit comments

Comments
 (0)