Files
codeql/python/ql/test/library-tests/ControlFlow/general/Lines.ql
2020-03-30 11:59:10 +02:00

9 lines
211 B
Plaintext

import python
from Scope s, int n
where
exists(Function f | f = s | n = f.getMetrics().getNumberOfLines())
or
exists(Module m | m = s | n = m.getMetrics().getNumberOfLines())
select s.toString(), n