line |
!l |
l&&!r |
l&&r |
condition |
49
|
0 |
0 |
0 |
$param_class and $param_class->isa('Games::Checkers::Board') |
101
|
0 |
0 |
0 |
$piece == &Pawn() and $self->is_crowning->[$color][$loc] |
115
|
0 |
0 |
0 |
ref $board_or_locs and $board_or_locs->isa('Games::Checkers::Board') |
265
|
0 |
0 |
0 |
$self->occup($loc) && $self->color($loc) == &White() |
271
|
0 |
0 |
0 |
$self->occup($loc) && $self->color($loc) == &Black() |
294
|
0 |
0 |
0 |
ref $self eq ref $board && $$self eq $$board |
329
|
0 |
0 |
0 |
$self->occup($loc) && $self->color($loc) == $color && $self->piece($loc) == $piece |
426
|
0 |
0 |
0 |
$piece == &Pawn() and $self->is_crowning->[$color][$dst] |
444
|
0 |
0 |
0 |
defined $dst0 and $dst != $dst0 |
464
|
0 |
0 |
0 |
defined $dst0 and $dst != $dst0 |
471
|
0 |
0 |
0 |
$main::RULES{'PAWNS_CANT_CAPTURE_KINGS'} and $self->piece($src) == &Pawn() |
|
0 |
0 |
0 |
$main::RULES{'PAWNS_CANT_CAPTURE_KINGS'} and $self->piece($src) == &Pawn() and $self->piece($enemy) == &King() |
475
|
0 |
0 |
0 |
$main::RULES{'CAPTURING_LEAVES_NO_GAP'} and $self->enclosed_locs->[$enemy]{$dst} |
646
|
0 |
0 |
0 |
@cprefix && $l++ >= ($lines - @cprefix) / 2 |