| blib/lib/Iterator/Flex/Chunk.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 14 | 71.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 58 | 1 | 1 | 5 | &Scalar::Util::looks_like_number($capacity) and int $capacity == $capacity |
| 2 | 2 | 3 | &Scalar::Util::looks_like_number($capacity) and int $capacity == $capacity and $capacity > 0 | |
| 103 | 0 | 0 | 4 | Ref::Util::XS::is_blessed_ref($@) and $@->isa("Iterator::Flex::Failure::Exhausted") |
| line | l | !l | condition |
|---|---|---|---|
| 57 | 7 | 0 | delete $pars{'capacity'} // 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 95 | 0 | 2 | 14 | $iterator_state == 1 or $next_is_exhausted |