| blib/lib/Bootylicious/Iterator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 26 | 26 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 6 | 266 | unless (shift())->{'elements'} |
| 37 | 1 | 2 | if $index |
| 45 | 7 | 2 | unless $self->has_next |
| 53 | 7 | 2 | if $self->{'index'} < 2 |
| 61 | 140 | 83 | $self->{'index'} < $self->size ? : |
| 67 | 8 | 20 | $self->{'index'} > 0 ? : |
| 74 | 214 | 18 | unless ($length) |
| 75 | 76 | 138 | unless $self->has_next |
| 84 | 3 | 21 | if --$length <= 0 |
| 94 | 28 | 10 | unless ($length) |
| 95 | 20 | 8 | unless $self->has_prev |
| 100 | 3 | 7 | if $self->{'index'} == 0 |
| 108 | 1 | 6 | if --$length <= 0 |