mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
10 lines
256 B
Plaintext
10 lines
256 B
Plaintext
import python
|
|
|
|
from ControlFlowNode p, Scope s
|
|
where
|
|
p.getScope() = s and
|
|
(exists (p.getATrueSuccessor()) or exists(p.getAFalseSuccessor())) and
|
|
s instanceof Function
|
|
select
|
|
p.getLocation().getStartLine(), s.getName(), p, strictcount(p.getASuccessor())
|