QL tests for Python queries and libraries.

This commit is contained in:
Mark Shannon
2018-11-19 15:15:54 +00:00
parent 90c75cd362
commit 05b69a1c0f
1140 changed files with 32676 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
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