| line |
true |
false |
branch |
|
109
|
3 |
6 |
unless ref $_[0] eq 'CODE' |
|
138
|
3 |
5 |
unless ref $_[0] eq 'CODE' |
|
171
|
2 |
5 |
unless ref $_[0] eq 'CODE' |
|
204
|
2 |
4 |
unless ref $_[0] eq 'CODE' |
|
258
|
3 |
5 |
if $self->has_won or $self->has_lost |
|
284
|
0 |
8 |
unless $_ |
|
285
|
1 |
7 |
if $self->score == $self->score($self->score + $_) |
|
311
|
0 |
8 |
unless $_ |
|
312
|
1 |
7 |
if $self->score == $self->score($self->score - $_) |
|
362
|
4 |
8 |
unless ref $_[0] eq 'CODE' |
|
392
|
6 |
13 |
if (/^(?:inc|dec)$/) |
|
451
|
50 |
0 |
/^inc$/ ? : |
|
478
|
3 |
2 |
unless /^\d+$/ |
|
538
|
3 |
11 |
unless /^(?:win|lose|win_lose|lose_win)$/ |
|
568
|
2 |
97 |
if &{$invalidate_if;}($_) |
|
571
|
1 |
96 |
if (/^win$/) { } |
|
|
89 |
7 |
elsif (/^lose$/) { } |
|
|
2 |
5 |
elsif (/^win_lose$/) { } |
|
|
5 |
0 |
elsif (/^lose_win$/) { } |
|
572
|
1 |
0 |
if ($self->has_won) { } |
|
|
0 |
0 |
elsif ($self->has_lost) { } |
|
580
|
4 |
85 |
if ($self->has_lost) { } |
|
|
5 |
80 |
elsif ($self->has_won) { } |
|
588
|
1 |
1 |
if ($self->has_won) |
|
591
|
1 |
1 |
if ($self->has_lost) |
|
596
|
3 |
2 |
if ($self->has_lost) |
|
599
|
3 |
2 |
if ($self->has_won) |