Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ sideEffectAssignment
Method
sideEffectAssignment
src/test/resources/deadcode/Corner.java:2–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
class
Corner {
2
int
sideEffectAssignment() {
3
int
x = 1;
4
long y = 2;
5
x = (
int
) y;
6
return
5;
7
}
8
9
void
sideEffectMod() {
10
int
x = 0;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected