blib/lib/Array/Iterator/BiDirectional.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 20 | 100.0 |
line | true | false | branch |
---|---|---|---|
19 | 10 | 7 | if (not defined $n) { } |
1 | 6 | elsif (not $n) { } | |
1 | 5 | elsif ($n < 0) { } | |
25 | 10 | 5 | $idx > 0 ? : |
32 | 1 | 4 | unless $self->_current_index - 1 > 0 |
40 | 1 | 4 | unless $self->_current_index - 1 > 0 |
50 | 5 | 9 | if (not defined $n) { } |
1 | 8 | elsif (not $n) { } | |
1 | 7 | elsif ($n < 0) { } | |
56 | 5 | 7 | unless $idx > 0 |