| blib/lib/Iterator/Flex/Chunk.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 58 | 3 | 3 | unless &Scalar::Util::looks_like_number($capacity) and int $capacity == $capacity and $capacity > 0 |
| 71 | 0 | 3 | unless Ref::Util::XS::is_hashref($state) |
| 95 | 2 | 14 | if $iterator_state == 1 or $next_is_exhausted |
| 102 | 4 | 10 | unless (eval { do { push @chunked, &$src() while @chunked < $capacity; 1 } }) |
| 103 | 0 | 4 | unless Ref::Util::XS::is_blessed_ref($@) and $@->isa("Iterator::Flex::Failure::Exhausted") |
| 107 | 2 | 2 | unless @chunked |