Branch Coverage

blib/lib/Array/Iterator/BiDirectional.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
48 25 7 if (not defined $n) { }
1 6 elsif (not $n) { }
1 5 elsif ($n < 0) { }
54 9 21 if (not defined $self->{'_iterated'} or $self->{'_iterated'} >= 0)
55 6 3 $idx > 0 ? :
57 17 4 $idx >= 0 ? :
65 1 5 if ($self->{'_iterated'} >= 0) { }
66 0 1 unless $self->_current_index - 1 > 0
68 1 4 unless $self->_current_index - 1 >= 0
78 1 6 unless $self->hasPrevious
79 2 4 if ($self->_iterated == 1)
83 0 6 unless $self->hasPrevious
92 5 9 if (not defined $n) { }
1 8 elsif (not $n) { }
1 7 elsif ($n < 0) { }
98 5 7 unless $idx > 0