blib/lib/Tie/Array/Iterable/ForwardIterator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 26 | 65.3 |
line | true | false | branch |
---|---|---|---|
48 | 0 | 1 | unless UNIVERSAL::isa($iterarray, 'Tie::Array::Iterable') |
65 | 17 | 18 | if ($$self{'pos'} <= 0) { } |
74 | 23 | 77 | if ($$self{'pos'} >= scalar @{$$self{'array'};}) { } |
93 | 7 | 60 | if ($self->at_end) |
100 | 0 | 0 | if ($self->at_end) |
112 | 0 | 7 | if ($index < 0) |
113 | 0 | 7 | if ($index > scalar @{$$self{'array'};}) |
120 | 13 | 16 | if ($self->at_end) |
129 | 14 | 17 | if ($self->at_start) |
139 | 0 | 4 | if $steps < 0 |
140 | 0 | 4 | if not $steps and $steps ne '0' |
149 | 0 | 3 | if $steps < 0 |
150 | 0 | 3 | if not $steps and $steps ne '0' |