mirror of
https://github.com/github/codeql.git
synced 2026-01-01 00:27:24 +01:00
9 lines
257 B
Plaintext
9 lines
257 B
Plaintext
|
|
import python
|
|
import Lexical.CommentedOutCode
|
|
|
|
from CommentBlock block, int line, boolean code
|
|
where block.hasLocationInfo(_, line, _, _, _) and
|
|
if block instanceof CommentedOutCodeBlock then code = true else code = false
|
|
select line, block.length(), code
|