| blib/lib/Iterator/Flex/Take.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 26 | 53.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 71 | 0 | 0 | 13 | defined $n and &Scalar::Util::looks_like_number($n) |
| 0 | 0 | 13 | defined $n and &Scalar::Util::looks_like_number($n) and int $n == $n | |
| 0 | 0 | 13 | defined $n and &Scalar::Util::looks_like_number($n) and int $n == $n and $n >= 0 | |
| 165 | 75 | 15 | 5 | not $value and $src->$is_exhausted |
| 218 | 0 | 0 | 0 | Ref::Util::XS::is_blessed_ref($@) and $@->isa("Iterator::Flex::Failure::Exhausted") |
| line | l | !l | condition |
|---|---|---|---|
| 74 | 6 | 7 | delete $pars{'lazy'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.42.0/B/Deparse.pm line 5762. |
| 98 | 0 | 13 | $current //= undef |
| 99 | 0 | 13 | $prev //= undef |
| 100 | 0 | 13 | $next //= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 159 | 10 | 6 | 95 | $iterator_state == 1 or $took == $n |