Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ deadAssign4
Method
deadAssign4
src/test/resources/deadcode/DeadAssignment2.java:31–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
int
deadAssign4() {
32
int
x;
33
x = 0;
// dead assignment
34
x = 1;
// dead assignment
35
x = 2;
36
return
x;
37
}
38
39
int
ten() {
40
return
10;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected