Branch Coverage

blib/lib/Games/Domino/Player.pm
Criterion Covered Total %
branch 5 26 19.2


line true false branch
52 1 17 unless defined $tile
123 0 2 if defined $left and defined $right
132 4 0 if ($_->value > $max)
167 2 0 if ($self->show) { }
194 0 0 if ($left =~ /$L|$R/ or $right =~ /$L|$R/)
206 0 0 if ($matched->{$_}->value > $max)
212 0 0 if (defined $pick)
222 0 0 if scalar @{$self->{'bank'};} == 1
229 0 0 unless defined $index and $index =~ /^\d+$/
230 0 0 if scalar @{$self->{'bank'};} >= $index and $index >= 1
237 0 0 unless defined $index and $index =~ /^\d+$/
238 0 0 unless defined $left and defined $right
244 0 0 if $left =~ /$L|$R/ or $right =~ /$L|$R/