mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
10 lines
332 B
Plaintext
10 lines
332 B
Plaintext
import javascript
|
|
|
|
select count(SsaVariable d,
|
|
// compute SSA def-use
|
|
VarUse u | u = d.getAUse()),
|
|
// maximum length of basic block
|
|
max(int n | n = any(BasicBlock bb).length()),
|
|
// maximum number of basic blocks per container
|
|
max(int n | exists(StmtContainer sc | n = count(BasicBlock bb | bb.getContainer() = sc)))
|