(boolean b)
| 1 | class BranchUndef { |
| 2 | |
| 3 | void undefined1(boolean b) { |
| 4 | int x, undef; |
| 5 | if (b) { |
| 6 | x = undef; |
| 7 | } else { |
| 8 | x = 10; |
| 9 | } |
| 10 | int y = x; |
| 11 | } |
| 12 | |
| 13 | void undefined2(boolean b) { |
| 14 | int undef; |
nothing calls this directly
no outgoing calls
no test coverage detected