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

Method breakLoop

src/test/resources/controlflow/CFG.java:37–49  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

35 }
36
37 int breakLoop(int n) {
38 int x = n * n;
39 while (x > n) {
40 x = x - 1;
41 if (x == 100) {
42 x = 20;
43 break;
44 }
45 x = x - 2;
46 }
47 x = x * 5;
48 return x;
49 }
50
51 int switchCase(int n) {
52 int x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected