mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Fix sum of rows
This commit is contained in:
@@ -11,8 +11,7 @@ import semmle.code.java.dataflow.ExternalFlow
|
||||
from string packageAndType, int rows
|
||||
where
|
||||
exists(string package, string type |
|
||||
modelCoverage(package, _, _, type, _) and
|
||||
packageAndType = package + ";" + type and
|
||||
rows = sum(int n | modelCoverage(package, _, _, type, n) | n)
|
||||
rows = strictsum(int n, string kind | modelCoverage(package, _, kind, type, n) | n)
|
||||
)
|
||||
select packageAndType, rows
|
||||
|
||||
Reference in New Issue
Block a user