| 58 | } |
| 59 | |
| 60 | class A { |
| 61 | |
| 62 | void foo(int p) { |
| 63 | int q = ten(); |
| 64 | int x = p + q; |
| 65 | use(x); |
| 66 | } |
| 67 | |
| 68 | int ten() { |
| 69 | return 10; |
| 70 | } |
| 71 | |
| 72 | void use(int x) { |
| 73 | } |
| 74 | |
| 75 | int identity(int x) { |
| 76 | return x; |
| 77 | } |
| 78 | |
| 79 | int constant() { |
| 80 | return 123; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | class B extends A { |
| 85 |
nothing calls this directly
no outgoing calls
no test coverage detected