Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ dead1
Method
dead1
src/test/resources/deadcode/ForLoops.java:3–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
class
ForLoops {
2
3
void
dead1() {
4
int
m = 0;
5
int
y = 2;
6
for
(
int
i = 0; i < m; ++i) {
7
use(y);
8
return
;
9
}
10
use(y)
11
}
12
13
void
dead2() {
14
int
m = 0;
Callers
nothing calls this directly
Calls
1
use
Method · 0.95
Tested by
no test coverage detected