MCPcopy Create free account
hub / github.com/LFYSec/MScan / test

Method test

src/test/resources/pta/lambda/LambdaStaticMethod.java:9–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 }
8
9 static Object test() {
10 Function<Object, Op> fun = (o) -> {
11 if (o.hashCode() > 0) {
12 return new GT();
13 } else {
14 return new LE();
15 }
16 };
17 return fun.apply(new Object());
18 }
19
20 static abstract class Op {
21 }

Callers 2

mainMethod · 0.95
mainMethod · 0.45

Calls 2

applyMethod · 0.65
hashCodeMethod · 0.45

Tested by

no test coverage detected