blib/lib/Games/Bowling/Scorecard/AsText.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 38 | 38 | 100.0 |
line | true | false | branch |
---|---|---|---|
69 | 5 | 31 | unless ($frame) |
78 | 29 | 2 | defined $score ? : |
86 | 1 | 3 | unless ($frame) |
96 | 2 | 1 | defined $score ? : |
115 | 1 | 53 | unless defined $b1 |
119 | 7 | 46 | $b1 == 10 ? : |
10 | 32 | $b1 + $b2 == 10 ? : | |
42 | 4 | defined $b2 ? : | |
7 | 46 | $b1 == 10 ? : | |
127 | 1 | 21 | unless defined $b1 |
129 | 12 | 9 | if ($b1 == 10) { } |
2 | 7 | elsif (not defined $b2) { } | |
4 | 3 | elsif ($b1 + $b2 == 10) { } | |
130 | 2 | 10 | unless defined $b2 |
132 | 1 | 2 | $b3 == 10 ? : |
3 | 1 | defined $b3 ? : | |
4 | 6 | if $b2 == 10 | |
139 | 1 | 2 | $b3 == 10 ? : |
3 | 1 | defined $b3 ? : |