Condition Coverage

blib/lib/Iterator/Flex/Base.pm
Criterion Covered Total %
condition 29 44 65.9


and 3 conditions

line !l l&&!r l&&r condition
98 102 0 2 @exhaustion_action > 1 && $exhaustion_action[1] eq 'passthrough'
126 0 0 20 Ref::Util::XS::is_blessed_ref($error) and $error->isa("Iterator::Flex::Failure::RoleExists")
165 407 2294 407 Ref::Util::XS::is_ref($ipar{$key}) and builtin::is_weak($ipar{$key})
172 3 904 0 Ref::Util::XS::is_ref($gpar{$key}) and builtin::is_weak($gpar{$key})
192 407 0 0 defined $pars->{'_ROLES'} and not Ref::Util::XS::is_arrayref($pars->{'_roles'})
248 0 0 141 Ref::Util::XS::is_blessed_ref($obj) && $obj->isa(__PACKAGE__)
549 0 1 41 &Scalar::Util::looks_like_number($n) && int $n == $n && $n > 0
75 41 1 defined $n and not &Scalar::Util::looks_like_number($n) && int $n == $n && $n > 0
575 0 2 1 Ref::Util::XS::is_blessed_ref($@) and $@->isa("Iterator::Flex::Failure::Exhausted")
616 0 0 1 Ref::Util::XS::is_blessed_ref($@) and $@->isa("Iterator::Flex::Failure::Exhausted")

or 2 conditions

line l !l condition
71 110 297 delete $ipar{'_roles'} // []
73 1 406 $gpar{'error'} //= ["throw"]
84 169 238 $gpar{'exhaustion'} // ["return", undef]
282 9 7 $attributes[13] //= {}

or 3 conditions

line l !l&&r !l&&!r condition
148 203 204 0 $ipar{'_name'} //= $class
287 0 16 0 $$may{"_may_$meth"} //= defined $attributes[9] ? !&List::Util::first(sub { not $_->may($meth); } , @{$attributes[9]}) : defined $attributes[$Iterator::Flex::Base::RegIterationIndexMap{$meth}]