Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ foo
Method
foo
src/test/resources/pta/basic/MultiReturn.java:2–8 ·
view source on GitHub ↗
(A a)
Source
from the content-addressed store, hash-verified
1
public
class
MultiReturn {
2
A foo(A a) {
3
int
x = a.getX();
4
if
(x % 2 == 0)
5
return
new
A(x / 2);
6
else
7
return
a;
8
}
9
10
public
static
void
main(String[] args) {
11
MultiReturn mr =
new
MultiReturn();
Callers
1
main
Method · 0.95
Calls
1
getX
Method · 0.80
Tested by
no test coverage detected