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

Method foo

src/test/resources/pta/basic/PropagateNull.java:11–19  ·  view source on GitHub ↗
(A a)

Source from the content-addressed store, hash-verified

9 }
10
11 static String foo(A a) {
12 a.f = null;
13 Object nn = a.f;
14 a.hashCode();
15
16 Object o = null;
17 String s = (String) o;
18 return s;
19 }
20}
21
22class A {

Callers 1

mainMethod · 0.95

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected