Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ staticFact
Method
staticFact
src/test/resources/pta/contextsensitivity/StaticSelect.java:18–23 ·
view source on GitHub ↗
(Int n)
Source
from the content-addressed store, hash-verified
16
}
17
18
static
int
staticFact(Int n) {
19
if
(n.v <= 0) {
20
return
1;
21
}
22
return
n.v * staticFact(
new
Int(n.v - 1));
23
}
24
}
Callers
1
fact
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected