Condition Coverage

blib/lib/Games/Domino.pm
Criterion Covered Total %
condition 0 12 0.0


and 3 conditions

line !l l&&!r l&&r condition
154 0 0 0 defined $index && ($index =~ /^B$/i || $self->current->_validate_index($index) && $self->current->_validate_tile($index, $self->board_l, $self->board_r))
446 0 0 0 defined $self->{'action'} and scalar @{$self->{'action'};} == 2

or 3 conditions

line l !l&&r !l&&!r condition
184 0 0 0 scalar @{$self->{'stock'};} == 2 || scalar @{$self->{'human'}{'bank'};} == 0 || scalar @{$self->{'computer'}{'bank'};} == 0
392 0 0 0 not defined $self->{'board'} or scalar @{$self->{'board'};} == 0