mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Swift: Add compile errors / warnings to SummaryStats.ql.
This commit is contained in:
@@ -48,6 +48,10 @@ predicate statistic(string what, string value) {
|
||||
or
|
||||
what = "Lines of code" and value = linesOfCode().toString()
|
||||
or
|
||||
what = "Compiler errors" and value = count(CompilerError d).toString()
|
||||
or
|
||||
what = "Compiler warnings" and value = count(CompilerWarning d).toString()
|
||||
or
|
||||
what = "Expressions" and value = count(Expr e | not e.getFile() instanceof UnknownFile).toString()
|
||||
or
|
||||
what = "Local flow sources" and value = count(LocalFlowSource s).toString()
|
||||
|
||||
Reference in New Issue
Block a user