| blib/lib/Array/Iterator/BiDirectional.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 20 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 10 | 7 | if (not defined $n) { } |
| 1 | 6 | elsif (not $n) { } | |
| 1 | 5 | elsif ($n < 0) { } | |
| 21 | 10 | 5 | $idx > 0 ? : |
| 28 | 1 | 4 | unless $self->_current_index - 1 > 0 |
| 36 | 1 | 4 | unless $self->_current_index - 1 > 0 |
| 46 | 5 | 9 | if (not defined $n) { } |
| 1 | 8 | elsif (not $n) { } | |
| 1 | 7 | elsif ($n < 0) { } | |
| 52 | 5 | 7 | unless $idx > 0 |