We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b242bd6 + 87ee979 commit 1e6ef99Copy full SHA for 1e6ef99
java/ql/src/Telemetry/ExtractorInformation.ql
@@ -9,6 +9,13 @@
9
import java
10
import semmle.code.java.Diagnostics
11
12
+predicate compilationInfo(string key, int value) {
13
+ exists(Compilation c, string infoKey |
14
+ key = infoKey + ": " + c.getInfo(infoKey) and
15
+ value = 1
16
+ )
17
+}
18
+
19
predicate fileCount(string key, int value) {
20
key = "Number of files" and
21
value = strictcount(File f)
@@ -55,6 +62,7 @@ predicate extractorDiagnostics(string key, int value) {
55
62
56
63
from string key, int value
57
64
where
65
+ compilationInfo(key, value) or
58
66
fileCount(key, value) or
59
67
fileCountByExtension(key, value) or
60
68
totalNumberOfLines(key, value) or
0 commit comments