mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
8 lines
351 B
Plaintext
8 lines
351 B
Plaintext
import javascript
|
|
|
|
select // compute SSA def-use
|
|
count(SsaVariable d, 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))) |