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

Method foo

src/test/resources/deadcode/NotDead.java:3–11  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

1class NotDead {
2
3 void foo(int x, int y) {
4 int a;
5 if (x > y) {
6 a = 0;
7 } else {
8 a = 1;
9 }
10 use(a);
11 }
12
13 int bar() {
14 int x = 1;

Callers

nothing calls this directly

Calls 1

useMethod · 0.95

Tested by

no test coverage detected