blib/lib/Chess/PGN/EPD.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 72 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
565 | 0 | 0 | 0 | $promotion and not $w |
664 | 0 | 0 | 0 | canmove($piece, $to, $_, %board) and isLegal($w, $_, $to, %board) |
718 | 0 | 0 | 0 | scalar @moves and $moves[-1] eq '1' |
755 | 0 | 0 | 0 | $promotion and not $w |
883 | 0 | 0 | 0 | canmove($piece, $to, $_, %board) and isLegal($w, $_, $to, %board) |
949 | 0 | 0 | 0 | $board_copy{$_} and $board_copy{$_} eq $findking |
956 | 0 | 0 | 0 | $board_copy{$square} and $mask =~ /$board_copy{$square}/ |
1079 | 0 | 0 | 0 | $_ and $board{$_} |
1099 | 0 | 0 | 0 | $_ and $_ % 8 == 0 |
1154 | 0 | 0 | 0 | $board{$from} and $board{'to'} |
1155 | 0 | 0 | 0 | defined $board{$from} and defined $board{$to} |
1163 | 0 | 0 | 0 | $rto eq $rfrom and $lto lt $lfrom |
0 | 0 | 0 | $lto eq $lfrom and $rto lt $rfrom |
line | l | !l | condition |
---|---|---|---|
321 | 0 | 0 | $code || 'Unknown' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
1123 | 0 | 0 | 0 | $Kc or $Qc |
0 | 0 | 0 | $Kc or $Qc or $kc | |
0 | 0 | 0 | $Kc or $Qc or $kc or $qc | |
1154 | 0 | 0 | 0 | $rto eq $rfrom or $lto eq $lfrom |
1163 | 0 | 0 | 0 | $rto eq $rfrom and $lto lt $lfrom or $lto eq $lfrom and $rto lt $rfrom |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
416 | 0 | 0 | 0 | 0 | pos($array[$_]) % 2 xor $_ % 2 |
425 | 0 | 0 | 0 | 0 | pos($array[$_]) % 2 xor $_ % 2 |
436 | 0 | 0 | 0 | 0 | pos($array[$_]) % 2 xor $_ % 2 |
454 | 0 | 0 | 0 | 0 | pos($array[$_]) % 2 xor $_ % 2 |