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

Method loop

src/test/resources/dataflow/constprop/inter/ArgRet.java:23–31  ·  view source on GitHub ↗
(int times)

Source from the content-addressed store, hash-verified

21 }
22
23 static int loop(int times) {
24 int n = 2333;
25 int r = 2334;
26 for (int i = 0; i < times; ++i) {
27 n = add1(n);
28 r = n;
29 }
30 return r;
31 }
32
33 static int add1(int x) {
34 return x + 1;

Callers 1

mainMethod · 0.95

Calls 1

add1Method · 0.95

Tested by

no test coverage detected