mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Filter unused API callsites
This commit is contained in:
@@ -17,7 +17,7 @@ where
|
||||
not api.isSupported() and
|
||||
api.isInteresting()
|
||||
select api.asCSV(api) as csv,
|
||||
count(Call c |
|
||||
strictcount(Call c |
|
||||
c.getCallee() = api and
|
||||
not c.getFile() instanceof GeneratedFile
|
||||
) as Usages order by Usages desc
|
||||
|
||||
Reference in New Issue
Block a user