We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7684781 commit c230c9fCopy full SHA for c230c9f
ql/ql/src/queries/style/AndroidIdPrefix.ql
@@ -11,6 +11,8 @@ import ql
11
12
/** Holds if `t` transitively imports an Android module. */
13
predicate importsAndroidModule(TopLevel t) {
14
+ t.getFile() =
15
+ any(YAML::QLPack pack | pack.getExtractor() = "java").getADependency*().getAFileInPack() and
16
exists(Import i | t.getAnImport() = i |
17
i.getImportString().toLowerCase().matches("%android%")
18
or
0 commit comments