Branch Coverage

blib/lib/Game/Life/NDim/Board.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
84 0 7 if $params{'types'}
95 1634 201 if (@{$dims;} == 1) { }
119 0 2 if $params{'types'}
138 0 12 unless @cursor
151 4 1017 unless $self->cursor->increment($self->dims)
157 0 3034 unless (exists $self->cursor->[$i])
163 301 2733 if (ref $life eq 'ARRAY' and @{$life;} < $pos + 1)
165 22 279 $i < @{$self->cursor;} - 1 ? :
180 0 0 if (ref $curr->[$i] eq 'ARRAY') { }
195 1 49 $self->wrap ? :
196 0 50 unless defined $min
199 1 123 if $i < $min or not exists $item->[$i]
209 0 1 if @{$self->dims;} > 3
211 1 0 10 >= &max(@{$self->dims;}, scalar @{$self->dims;}) ? :
219 0 4 if (@{$self->cursor;} > 2 and $self->cursor->[0] != $level)
226 2 2 $self->cursor->[-1] == $self->dims->[-1] ? :
231 0 1 if (@outs)