Skip to content

Commit be6b1d8

Browse files
author
Stephan Brandauer
committed
Java: remove SkipFrameworkModeling characteristic in favour of later evaluation
1 parent 2e16b71 commit be6b1d8

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

java/ql/src/Telemetry/AutomodelApplicationModeCharacteristics.qll

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -294,32 +294,6 @@ private class ArgumentToLocalCall extends CharacteristicsImpl::UninterestingToMo
294294
}
295295
}
296296

297-
/**
298-
* A characteristic that avoids modeling endpoint that are passed to frameworks
299-
* in application mode.
300-
*
301-
* It's much more economical to use framework mode for those.
302-
*/
303-
private class SkipFrameworkModeling extends CharacteristicsImpl::UninterestingToModelCharacteristic {
304-
SkipFrameworkModeling() { this = "skip modeling of large frameworks" }
305-
306-
override predicate appliesToEndpoint(Endpoint e) {
307-
ApplicationCandidatesImpl::getCallable(e)
308-
.getDeclaringType()
309-
.getPackage()
310-
.getName()
311-
.matches([
312-
"com.google%", //
313-
"java.%", //
314-
"javax.%", //
315-
"org.apache%", //
316-
"org.eclipse%", //
317-
"org.gradle%", //
318-
"org.slf4j%", //
319-
])
320-
}
321-
}
322-
323297
/**
324298
* A Characteristic that marks endpoints as uninteresting to model, according to the Java ModelExclusions module.
325299
*/

0 commit comments

Comments
 (0)