Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ main
Method
main
src/test/resources/sideeffect/PureTest.java:3–6 ·
view source on GitHub ↗
(String[] args)
Source
from the content-addressed store, hash-verified
1
public
class
PureTest {
2
3
public
static
void
main(String[] args) {
4
int
[] array =
new
int
[]{3, 4, 1, 2, 5};
5
countOnes(array, 5);
6
}
7
8
public
static
int
countOnes(
int
[] array,
int
len) {
9
int
ret = 0;
Callers
nothing calls this directly
Calls
1
countOnes
Method · 0.95
Tested by
no test coverage detected