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

Method main

src/test/resources/pta/contextsensitivity/ObjOnly.java:2–18  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

1class ObjOnly {
2 public static void main(String[] args) {
3 A a1 = new A();
4 A a2 = new A();
5
6 B b1 = new B();
7 B b2 = new B();
8
9 C c1 = new C();
10 C c2 = new C();
11
12 D d1 = new D();
13 D d2 = new D();
14
15 a1.setF(b1, c1, d1);
16 a2.setF(b2, c2, d2);
17 D result = a1.getF().getG().getH();
18 }
19}
20
21class A {

Callers

nothing calls this directly

Calls 4

setFMethod · 0.95
getFMethod · 0.95
getHMethod · 0.80
getGMethod · 0.45

Tested by

no test coverage detected