Branch Coverage

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


line true false branch
18 0 2 unless $args{'size'}
20 2 0 unless ref $args{'size'}
72 0 42 unless ref $dir eq 'ARRAY'
81 6 36 if $$newpos[0] < 0 or $$newpos[1] < 0
83 6 30 if $$newpos[0] >= $self->board->size->[0] or $$newpos[1] >= $self->board->size->[1]