Branch Coverage

blib/lib/Games/Bowling/Scorecard/Frame.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
30 42 152 if ($self->is_done)
31 41 1 if ($self->is_pending) { }
51 73 79 unless $self->is_done
55 15 64 if @balls == 1 and $balls[0] == 10
56 12 52 if @balls == 2 and $balls[0] + $balls[1] == 10
64 84 68 if @balls == 1 and $balls[0] == 10 or @balls == 2
71 1 163 if $self->is_done
72 1 162 unless defined $ball
73 2 160 if $ball > 10
74 1 159 if $ball < 0
75 1 158 if $ball != int $ball
80 12 146 if $i > 10