Turn external API query into diagnostics query

* Expose (partial) CSV model for the API
* Rework and simplify predicates
This commit is contained in:
Benjamin Muskalla
2021-08-02 15:52:45 +02:00
parent 8595ae71f7
commit fda394858b
3 changed files with 29 additions and 12 deletions

View File

@@ -16,6 +16,6 @@ where
c.getCallee() = a and
not c.getFile() instanceof GeneratedFile and
a.getCompilationUnit().getParentContainer*() = jar and
not a.getDeclaringType() instanceof TestLibrary
not a.isTestLibrary()
)
select jar.getFile().getStem() + "." + jar.getFile().getExtension(), Usages order by Usages desc