Condition Coverage

blib/lib/Chess/ChessKit/Board.pm
Criterion Covered Total %
condition 0 30 0.0


and 3 conditions

line !l l&&!r l&&r condition
245 0 0 0 defined $wanted and $color{$piece} != $color{$wanted}
456 0 0 0 defined $$set[$_] and $locking eq $$set[$_]
485 0 0 0 $p eq $q && $$status{$piece} eq 'no'
538 0 0 0 $$status{$cds{$roq}[0]} eq 'no' && $$status{$cds{$roq}[1]} eq 'no' && !defined($$self{$special{$cds{$roq}[2]}}) && !defined($$self{$special{$cds{$roq}[3]}})
561 0 0 0 defined $$set[$_] and $locking[$l] eq $$set[$_]

or 3 conditions

line l !l&&r !l&&!r condition
420 0 0 0 $value == $min{$color} or $value == $max{$color}
644 0 0 0 $$status{'KK'} eq 'yes' || $$status{'KR'} eq 'yes'
645 0 0 0 $$status{'KK'} eq 'yes' || $$status{'QR'} eq 'yes'
646 0 0 0 $$status{'kk'} eq 'yes' || $$status{'kr'} eq 'yes'
647 0 0 0 $$status{'kk'} eq 'yes' || $$status{'qr'} eq 'yes'