blib/lib/Chess/Piece/Pawn.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 15 | 46.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
115 | 591 | 1 | 1426 | not $self->moved and defined $tsq2 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
90 | 0 | 69 | 0 | ref $caller || $caller |
125 | 0 | 0 | 3 | lc $new_rank eq 'bishop' or lc $new_rank eq 'knight' |
0 | 0 | 3 | lc $new_rank eq 'bishop' or lc $new_rank eq 'knight' or lc $new_rank eq 'rook' | |
0 | 3 | 0 | lc $new_rank eq 'bishop' or lc $new_rank eq 'knight' or lc $new_rank eq 'rook' or lc $new_rank eq 'queen' |