Condition Coverage

blib/lib/Games/Domino/Player.pm
Criterion Covered Total %
condition 2 21 9.5


and 3 conditions

line !l l&&!r l&&r condition
123 1 1 0 defined $left and defined $right
229 0 0 0 defined $index and $index =~ /^\d+$/
230 0 0 0 scalar @{$self->{'bank'};} >= $index and $index >= 1
237 0 0 0 defined $index and $index =~ /^\d+$/
238 0 0 0 defined $left and defined $right

or 3 conditions

line l !l&&r !l&&!r condition
194 0 0 0 $left =~ /$L|$R/ or $right =~ /$L|$R/
244 0 0 0 $left =~ /$L|$R/ or $right =~ /$L|$R/