line |
true |
false |
branch |
181
|
0 |
0 |
%arg ? : |
227
|
0 |
0 |
defined $p ? : |
245
|
0 |
0 |
if (defined $wanted and $color{$piece} != $color{$wanted}) { } |
261
|
0 |
0 |
if (defined @{$$caval[$m];}) |
266
|
0 |
0 |
if ($piece =~ /U/i) |
267
|
0 |
0 |
if $self->cantake('who', $piece, 'where', $c) ne 'no' |
270
|
0 |
0 |
if (not defined $p) { } |
|
0 |
0 |
elsif ($piece =~ /P/i) { } |
|
0 |
0 |
elsif ($self->cantake('who', $piece, 'where', $c) eq 'no') { } |
303
|
0 |
0 |
if ($piece =~ /P/i) |
304
|
0 |
0 |
$piece =~ /P/ ? : |
311
|
0 |
0 |
if $control eq 'no' |
320
|
0 |
0 |
$piece =~ /[QKNBRPU]/ ? : |
325
|
0 |
0 |
if ($chkbd->is_shaked('king', $king, 'out', 'n') ne 'yes') |
343
|
0 |
0 |
if (defined $p) |
346
|
0 |
0 |
$p =~ /[BKNPQR]/ ? : |
362
|
0 |
0 |
if (defined $p) |
365
|
0 |
0 |
$p =~ /[BKNPQR]/ ? : |
390
|
0 |
0 |
defined $capture ? : |
405
|
0 |
0 |
$max > $value ? : |
406
|
0 |
0 |
$min < $value ? : |
420
|
0 |
0 |
if ($value == $min{$color} or $value == $max{$color}) |
439
|
0 |
0 |
if ($king eq $$self{$_}) |
443
|
0 |
0 |
$king =~ /K/ ? : |
446
|
0 |
0 |
if ($piece =~ /[$color]/) |
456
|
0 |
0 |
if (defined $$set[$_] and $locking eq $$set[$_]) |
458
|
0 |
0 |
if $out eq 'y' |
479
|
0 |
0 |
if $arg{'ini'} eq 'y' |
484
|
0 |
0 |
defined $$self{$hereis{$piece}} ? : |
485
|
0 |
0 |
$p eq $q && $$status{$piece} eq 'no' ? : |
497
|
0 |
0 |
$arg{'out'} ? : |
500
|
0 |
0 |
$couleur eq 'White' ? : |
501
|
0 |
0 |
$side eq 'K' ? : |
503
|
0 |
0 |
unless $self->can_castling('roq', $babor . $Kk, 'status', $status, 'out', $out) ne 'no' |
521
|
0 |
0 |
$arg{'out'} ? : |
543
|
0 |
0 |
unless $resu |
547
|
0 |
0 |
$cds{$roq}[0] =~ /KK/ ? : |
552
|
0 |
0 |
if ($piece =~ /[$color]/) |
561
|
0 |
0 |
if (defined $$set[$_] and $locking[$l] eq $$set[$_]) |
563
|
0 |
0 |
if $out eq 'yes' |
596
|
0 |
0 |
unless $#pospck == 63 |
601
|
0 |
0 |
unless $piece eq '-' |
612
|
0 |
0 |
$fenstat =~ /K/ ? : |
613
|
0 |
0 |
$fenstat =~ /Q/ ? : |
614
|
0 |
0 |
$fenstat =~ /k/ ? : |
615
|
0 |
0 |
$fenstat =~ /q/ ? : |
638
|
0 |
0 |
defined $p ? : |
640
|
0 |
0 |
unless $num == 1 |
644
|
0 |
0 |
$$status{'KK'} eq 'yes' || $$status{'KR'} eq 'yes' ? : |
645
|
0 |
0 |
$$status{'KK'} eq 'yes' || $$status{'QR'} eq 'yes' ? : |
646
|
0 |
0 |
$$status{'kk'} eq 'yes' || $$status{'kr'} eq 'yes' ? : |
647
|
0 |
0 |
$$status{'kk'} eq 'yes' || $$status{'qr'} eq 'yes' ? : |
648
|
0 |
0 |
unless length $fenstat |