| 1 | public class LongCallChain { |
| 2 | |
| 3 | public static void main(String[] args) { |
| 4 | foo(); |
| 5 | } |
| 6 | |
| 7 | static void foo() { |
| 8 | bar1(); |
| 9 | bar2(); |
| 10 | } |
| 11 | |
| 12 | static void bar1() { |
| 13 | baz1(); |
| 14 | baz2(); |
| 15 | } |
| 16 | |
| 17 | static void bar2() { |
| 18 | } |
| 19 | |
| 20 | static void baz1() { |
| 21 | A a = new A(); |
| 22 | a.m1(); |
| 23 | } |
| 24 | |
| 25 | static void baz2() { |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | class A { |
| 30 | void m1() { |
nothing calls this directly
no outgoing calls
no test coverage detected