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

Method branch

src/test/resources/dataflow/constprop/inter/ArgRet.java:8–17  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

6 }
7
8 static int branch(int x) {
9 int n;
10 if (x > 0) {
11 n = 111;
12 } else {
13 n = -666;
14 }
15 n = id(n);
16 return n;
17 }
18
19 static int id(int x) {
20 return x;

Callers 1

mainMethod · 0.95

Calls 1

idMethod · 0.95

Tested by

no test coverage detected