Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ whileLoop
Method
whileLoop
src/test/resources/dataflow/constprop/inter/DeadLoop.java:15–22 ·
view source on GitHub ↗
(int x)
Source
from the content-addressed store, hash-verified
13
}
14
15
public
static
int
whileLoop(
int
x) {
16
int
y = 2;
17
int
z = 1;
18
while
(x > y) {
19
z += 1;
20
}
21
return
z;
22
}
23
24
}
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected