blib/lib/Iterator/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 24 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
105 | 202 | 83 | 0 | defined $to and $step > 0 && $from > $to || $step < 0 && $from < $to |
185 | 1 | 11 | 0 | $iter->isnt_exhausted and !defined($num) || $num-- > 0 |
230 | 1 | 18 | 5 | @its and $its[0]->is_exhausted |
282 | 12 | 2 | 10 | $pkg ne 'Iterator' and $pkg ne 'Iterator::Util' |
314 | 0 | 2 | 6 | $it->isnt_exhausted and $num-- > 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
105 | 15 | 0 | 68 | $step > 0 && $from > $to || $step < 0 && $from < $to |
185 | 3 | 5 | 3 | !defined($num) || $num-- > 0 |
270 | 0 | 0 | 10 | $iterA->is_exhausted or $iterB->is_exhausted |