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

Class A

src/test/resources/dataflow/constprop/inter/Call.java:60–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60class A {
61
62 void foo(int p) {
63 int q = ten();
64 int x = p + q;
65 use(x);
66 }
67
68 int ten() {
69 return 10;
70 }
71
72 void use(int x) {
73 }
74
75 int identity(int x) {
76 return x;
77 }
78
79 int constant() {
80 return 123;
81 }
82}
83
84class B extends A {
85

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected