Branch Coverage

blib/lib/Iterator/Flex/Gather.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
173 0 10 unless Ref::Util::XS::is_coderef($code)
187 0 0 if defined $pars{'cycle_on_exhaustion'} and $pars{'cycle_on_exhaustion'} != 65 and !$pars{'cycle_on_exhaustion'} & 96
195 0 10 unless Ref::Util::XS::is_hashref($state)
225 7 54 if $iterator_state == 1 or $next_is_exhausted
233 7 317 $has_cache ? :
240 0 312 unless $cycle
243 193 119 if (($result & 7) == 2) { }
7 112 elsif (($result & 7) == 4) { }
247 0 7 unless $cycle & 16
254 42 270 if $cycle & 112
258 12 42 if (not $ret and length $@)
260 0 12 unless Ref::Util::XS::is_blessed_ref($@) and $@->isa("Iterator::Flex::Failure::Exhausted")
265 2 10 $cycle_on_exhaustion == 65 ? :
269 5 7 if $result & 64 or $result & 32 and not @gathered