mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Fixes
This commit is contained in:
@@ -68,6 +68,8 @@ class Array extends JSON::Array {
|
||||
float getFloat(int i) { result = this.getChild(i).(JSON::Number).getValue().toFloat() }
|
||||
|
||||
Array getArray(int i) { result = this.getChild(i) }
|
||||
|
||||
int getLength() { result = count(this.getChild(_)) }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,5 +14,5 @@ int maxPipeLineLength(KindPredicatesLog::SummaryEvent evt) {
|
||||
}
|
||||
|
||||
from KindPredicatesLog::SummaryEvent evt
|
||||
select evt, evt.getResultSize(), evt.getMillis() as ms, maxTupleCount(evt) as mc, evt.getMillis(),
|
||||
select evt, evt.getResultSize(), evt.getMillis() as ms, maxTupleCount(evt) as mc,
|
||||
maxPipeLineLength(evt) as len order by mc desc
|
||||
|
||||
Reference in New Issue
Block a user