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

Method branch

src/test/resources/dataflow/constprop/EdgeRefine.java:3–11  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

1class EdgeRefine {
2
3 int branch(int x) {
4 int y;
5 if (x == 1) {
6 y = x + 1;
7 } else {
8 y = 2;
9 }
10 return y;
11 }
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected