Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a29f615 commit fe7add7Copy full SHA for fe7add7
1 file changed
java/ql/src/semmle/code/java/security/SecurityTests.qll
@@ -7,6 +7,7 @@ class NonSecurityTestClass extends TestClass {
7
NonSecurityTestClass() {
8
not exists(RefType s | this.getASupertype*().getSourceDeclaration() = s and s.fromSource() |
9
s.getLocation().getFile().getAbsolutePath().matches("%semmle%") or
10
+ s.getLocation().getFile().getAbsolutePath().matches("%ql/java/ql/test/%") or
11
s.getLocation().getFile().getAbsolutePath().matches("%CWE%")
12
)
13
}
0 commit comments