Branch Coverage

blib/lib/Games/Bowling/Scorecard/Frame.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
53 0 4 if (@{$self->{'balls'}})
57 0 4 if ($ball >= 9)
67 4 264 if ($arg->{'split'})
73 53 215 if ($self->is_done)
74 52 1 if ($self->is_pending) { }
93 2 32 $_[0]{'split'} ? :
98 104 111 unless $self->is_done
102 20 91 if @balls == 1 and $balls[0] == 10
103 14 77 if @balls == 2 and $balls[0] + $balls[1] == 10
111 118 97 if @balls == 1 and $balls[0] == 10 or @balls == 2
130 1 226 if $self->is_done
131 1 225 unless defined $ball
132 2 223 if $ball > 10
133 1 222 if $ball < 0
134 1 221 if $ball != int $ball
139 14 207 if $i > 10