blib/lib/Games/Bowling/Scorecard/AsASCII.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 38 | 38 | 100.0 |
line | true | false | branch |
---|---|---|---|
63 | 5 | 31 | unless ($frame) |
71 | 29 | 2 | defined $score ? : |
79 | 1 | 3 | unless ($frame) |
88 | 2 | 1 | defined $score ? : |
101 | 1 | 53 | unless defined $b1 |
103 | 7 | 46 | $b1 == 10 ? : |
10 | 32 | $b1 + $b2 == 10 ? : | |
42 | 4 | defined $b2 ? : | |
7 | 46 | $b1 == 10 ? : | |
111 | 1 | 21 | unless defined $b1 |
113 | 12 | 9 | if ($b1 == 10) { } |
2 | 7 | elsif (not defined $b2) { } | |
4 | 3 | elsif ($b1 + $b2 == 10) { } | |
114 | 2 | 10 | unless defined $b2 |
116 | 1 | 2 | $b3 == 10 ? : |
3 | 1 | defined $b3 ? : | |
4 | 6 | if $b2 == 10 | |
123 | 1 | 2 | $b3 == 10 ? : |
3 | 1 | defined $b3 ? : |