Condition Coverage

lib/Games/Checkers/Board.pm
Criterion Covered Total %
condition 0 26 0.0


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 0 $self->occup($loc) && $self->color($loc) == White
70 0 0 0 $self->occup($loc) && $self->color($loc) == Black
170 0 0 0 $locd != NL and $locd != $loc2
195 0 0 0 $locd != NL and $locd != $loc2

or 2 conditions

line l !l condition
274 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
197 0 0 0 $loc1 == NL or $loc1 == ML
198 0 0 0 $self->occup($loc2) or not $self->occup($loc1)
0 0 0 $self->occup($loc2) or not $self->occup($loc1) or $self->color($loc1) == $color
227 0 0 0 $self->can_color_beat($color) || $self->can_color_step($color)