| blib/lib/Iterator/Flex/Factory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 31 | 38.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 92 | 91 | 0 | 0 | $class ne "Iterator::Flex::Base" and not &Module::Runtime::require_module($class) |
| 98 | 91 | 0 | 0 | defined($par = $ipar{'_name'}) and Ref::Util::XS::is_ref($par) |
| 157 | 0 | 0 | 91 | not %ipar_k and not %gpar_k |
| 347 | 36 | 0 | 44 | $want[0] eq $have[0] and defined $want[1] && defined $have[1] && $want[1] eq $have[1] || !(defined $want[1] || defined $have[1]) |
| line | l | !l | condition |
|---|---|---|---|
| 86 | 0 | 91 | $ipar{'class'} // "Iterator::Flex::Base" |
| 103 | 71 | 20 | $gpar{'input_exhaustion'} // ["return", undef] |
| 245 | 0 | 0 | ref $obj || 'SCALAR' |
| 277 | 0 | 0 | $gpar{'input_exhaustion'} //= ["return", undef] |
| 330 | 70 | 10 | $gpar->{'exhaustion'} // ["return", undef] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 282 | 0 | 0 | 0 | can_meth($obj, 'next') || overload::Method($obj, '<>', undef, undef) |
| 343 | 80 | 0 | 0 | $registry[13] // throw_failure("internal", "registered Iterator::Flex iterator doesn't have a registered exhaustion") |
| 347 | 0 | 44 | 0 | defined $want[1] && defined $have[1] && $want[1] eq $have[1] || !(defined $want[1] || defined $have[1]) |