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

Method array

src/test/resources/dataflow/constprop/alias/ArrayField.java:10–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 int foo;
9
10 static int array() {
11 int arr[] = {1, 2, 3};
12 if (arr[0] > arr[1]) {
13 return arr[0]; // potential dead code
14 } else {
15 return arr[1];
16 }
17 }
18
19 static int field() {
20 ArrayField bar = new ArrayField();

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected