MCPcopy 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

1public 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

mainMethod · 0.95

Calls 1

getXMethod · 0.80

Tested by

no test coverage detected