Branch Coverage

blib/lib/Games/Board/Space.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
17 0 196 unless $args{'id'}
19 0 196 unless eval { do { $args{'board'}->isa('Games::Board') } }
26 68 128 if $args{'dir'} and ref $args{'dir'} eq 'HASH'
49 28 0 if ref $$space{'dir'} eq 'HASH'
61 0 4 if grep {$_ eq $piece->id;} @{$$self{'contents'};}
68 0 4 unless eval { do { $piece->isa('Games::Board::Piece') } }
69 0 4 if $self->contains($piece)