blib/lib/List/Enumerator/Array.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 30 | 76.6 |
line | true | false | branch |
---|---|---|---|
18 | 0 | 316 | unless $self->array |
27 | 217 | 50 | if ($i < @{$self->array;}) { } |
62 | 1 | 1 | $bool ? : |
99 | 2 | 6 | if ($item eq $target) { } |
105 | 1 | 0 | ref $block eq 'CODE' ? : |
1 | 1 | @$ret ? : | |
115 | 2 | 3 | if (&$block(local $_ = $item)) { } |
121 | 0 | 1 | wantarray ? : |
126 | 1 | 2 | if $index > $#{$self->array;} |
130 | 2 | 7 | if ($_ == $index) { } |
145 | 13 | 0 | if ($block) |
150 | 7 | 6 | if ('Exception::Class'->caught('StopIteration')) { } |
152 | 0 | 0 | ref $e ? : |
0 | 6 | if $e | |
166 | 3 | 2 | wantarray ? : |