blib/lib/Games/Board/Piece.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 3 | unless $args{'id'} |
17 | 0 | 3 | unless eval { do { $args{'board'}->isa('Games::Board') } } |
45 | 0 | 4 | unless $$piece{'current_space'} |
55 | 2 | 2 | if ($how eq 'dir') { } |
2 | 0 | elsif ($how eq 'to') { } | |
56 | 0 | 2 | unless $piece->current_space |
57 | 0 | 2 | unless $space = $piece->current_space->dir($which) |
59 | 0 | 2 | unless eval { do { $which->isa('Games::Board::Space') } } |