Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ main
Method
main
src/test/resources/dataflow/constprop/inter/DeadLoop.java:3–7 ·
view source on GitHub ↗
(String args[])
Source
from the content-addressed store, hash-verified
1
public
class
DeadLoop {
2
3
public
static
void
main(String args[]) {
4
int
x = 5;
5
int
y = recursion(x);
6
int
z = whileLoop(x);
7
}
8
9
public
static
int
recursion(
int
x) {
10
x += 1;
Callers
nothing calls this directly
Calls
2
recursion
Method · 0.95
whileLoop
Method · 0.95
Tested by
no test coverage detected