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

Method array

src/test/resources/deadcode/ArrayField.java:5–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3 int foo;
4
5 int array() {
6 int arr[] = {1, 2, 3};
7 if (arr[0] > arr[1]) {
8 return arr[0]; // potential dead code
9 } else {
10 return arr[1];
11 }
12 }
13
14 int field() {
15 ArrayField bar = new ArrayField();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected