| blib/lib/Iterator/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 19 | 42.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 156 | 6 | 1 | 0 | ref $code ne 'CODE' and not overload::Method($code, '&{}') |
| 330 | 8 | 22 | 5 | $end > 0 and $next >= $end |
| line | l | !l | condition |
|---|---|---|---|
| 66 | 0 | 0 | ref $self || 'SCALAR' |
| 141 | 0 | 0 | ref $self || 'SCALAR' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 46 | 1 | 0 | 0 | overload::Method($self, '<>') || $self->can('next') |
| 78 | 0 | 0 | 0 | blessed $self && ($self->isa('Iterator::Simple::Iterator') || $self->can('__iter__') || $self->can('next') || overload::Method($self, '<>') || overload::Method($self, '&{}') || overload::Method($self, '@{}')) || ref $self eq 'ARRAY' || ref $self eq 'CODE' || reftype $self eq 'GLOB' |
| 135 | 1 | 1 | 0 | overload::Method($self, '<>') || $self->can('next') |