mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Switch test to using a qlref to the real telemetry query
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
| Annotation processors enabled: true | 1 |
|
||||
| Number of calls with call target | 1 |
|
||||
| Number of calls with missing call target | 4 |
|
||||
| Number of diagnostics from CodeQL Java extractor with severity 5 | 10 |
|
||||
| Number of diagnostics from CodeQL Java extractor with severity 6 | 2 |
|
||||
| Number of expressions with known type | 1 |
|
||||
| Number of expressions with unknown type | 6 |
|
||||
| Number of files | 607 |
|
||||
| Number of files with extension class | 604 |
|
||||
| Number of files with extension java | 1 |
|
||||
| Number of files with extension properties | 1 |
|
||||
| Number of lines of code | 7 |
|
||||
| Number of lines of code with extension java | 7 |
|
||||
| Percentage of calls with call target | 20 |
|
||||
| Total number of diagnostics from CodeQL Java extractor | 12 |
|
||||
| Total number of lines | 13 |
|
||||
| Total number of lines with extension java | 13 |
|
||||
| Used annotation processor: lombok.launch.AnnotationProcessorHider$AnnotationProcessor | 1 |
|
||||
| Used annotation processor: lombok.launch.AnnotationProcessorHider$ClaimingProcessor | 1 |
|
||||
@@ -0,0 +1 @@
|
||||
Telemetry/ExtractorInformation.ql
|
||||
@@ -1,9 +0,0 @@
|
||||
callTargets
|
||||
#select
|
||||
| Test.java:5:17:5:20 | void | file://:0:0:0:0 | void |
|
||||
| Test.java:7:5:7:7 | <TypeAccess of ErrorType> | file://:0:0:0:0 | <CodeQL error type> |
|
||||
| Test.java:7:5:7:20 | <Call to unknown method> | file://:0:0:0:0 | <CodeQL error type> |
|
||||
| Test.java:8:5:8:24 | <Call to unknown method> | file://:0:0:0:0 | <CodeQL error type> |
|
||||
| Test.java:8:5:8:34 | <Call to unknown method> | file://:0:0:0:0 | <CodeQL error type> |
|
||||
| Test.java:8:6:8:14 | <ClassInstanceExpr that calls a missing constructor> | file://:0:0:0:0 | <CodeQL error type> |
|
||||
| Test.java:8:10:8:12 | <TypeAccess of ErrorType> | file://:0:0:0:0 | <CodeQL error type> |
|
||||
@@ -1,7 +0,0 @@
|
||||
import java
|
||||
|
||||
query Callable callTargets(MethodCall mc) { result = mc.getCallee() }
|
||||
|
||||
from Expr e
|
||||
where e.getFile().getBaseName() = "Test.java"
|
||||
select e, e.getType()
|
||||
Reference in New Issue
Block a user