mirror of
https://github.com/github/codeql.git
synced 2026-03-06 07:36:47 +01:00
9 lines
239 B
Plaintext
9 lines
239 B
Plaintext
import python
|
|
|
|
/* The result of this query should always be 0, *regardless* of the database. */
|
|
|
|
select
|
|
count(AstNode c | not exists(c.getParentNode()) and not c instanceof Module)
|
|
+
|
|
count(AstNode c | strictcount(c.getParentNode()) > 1)
|