Branch Coverage

blib/lib/Games/Board/Grid.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
39 0 2 unless $args{'size'}
41 2 0 unless ref $args{'size'}
140 0 42 unless ref $dir eq "ARRAY"
149 6 36 if $newpos->[0] < 0 or $newpos->[1] < 0
151 6 30 if $newpos->[0] >= $self->board->size->[0] or $newpos->[1] >= $self->board->size->[1]