Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ ifStmt
Method
ifStmt
src/test/resources/world/AllInOne.java:72–82 ·
view source on GitHub ↗
(int x)
Source
from the content-addressed store, hash-verified
70
}
71
72
int
ifStmt(
int
x) {
73
int
y = 10;
74
int
z;
75
if
(x > 0) {
76
z = x + 2;
77
}
else
{
78
foo(0, 1, 2);
79
z = 10 + x;
80
}
81
return
z;
82
}
83
84
int
gotoStmt(
int
x) {
85
for
(
int
i = 0; i < x; ++i) {
Callers
nothing calls this directly
Calls
1
foo
Method · 0.95
Tested by
no test coverage detected