File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
integration-tests/kotlin/all-platforms Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11extensions :
22 - addsTo :
3- pack : codeql/java-queries
3+ pack : codeql/java-all
44 extensible : extractorInformationSkipKey
55 data :
66 # These will have unstable values, as they are dependent on the
Original file line number Diff line number Diff line change 11extensions :
22 - addsTo :
3- pack : codeql/java-queries
3+ pack : codeql/java-all
44 extensible : extractorInformationSkipKey
55 data :
66 # These will have unstable values, as they are dependent on the
Original file line number Diff line number Diff line change @@ -61,3 +61,9 @@ class Diagnostic extends @diagnostic {
6161 /** Gets a textual representation of this diagnostic. */
6262 string toString ( ) { result = this .getMessage ( ) }
6363}
64+
65+ /**
66+ * Holds for extraction information keys that should be skipped from telemetry reports.
67+ * This predicate can be extended by other packs to filter out specific telemetry keys.
68+ */
69+ extensible predicate extractorInformationSkipKey ( string key ) ;
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import java
1010import semmle.code.java.Diagnostics
1111import DatabaseQuality
1212
13- extensible predicate extractorInformationSkipKey ( string key ) ;
14-
1513predicate compilationInfo ( string key , int value ) {
1614 exists ( Compilation c , string infoKey |
1715 key = infoKey + ": " + c .getInfo ( infoKey ) and
Original file line number Diff line number Diff line change 11extensions :
22 - addsTo :
3- pack : codeql/java-queries
3+ pack : codeql/java-all
44 extensible : extractorInformationSkipKey
55 data : []
You can’t perform that action at this time.
0 commit comments