Branch Coverage

blib/lib/Parallel/Loops.pm
Criterion Covered Total %
branch 36 48 75.0


line true false branch
417 0 16 unless pipe $reader, $writer
438 16 48 if (ref $ref eq 'HASH') { }
16 32 elsif (ref $ref eq 'ARRAY') { }
471 97 11 if ($self->{'workingSelect'}) { }
476 0 11 unless open my $in, $filename
487 0 108 if $childOutput eq ""
494 0 108 if ($@)
512 0 108 if ($error)
515 0 108 if $childFinishSub
531 10 5 if ($self->{'workingSelect'}) { }
561 33 0 if (exists $self->{'waitpid_blocking_sleep'})
568 97 11 if ($self->{'workingSelect'}) { }
583 0 135 unless pipe $childRdr, $parentWtr
589 0 135 if ($finishSub)
595 115 20 if ($self->{'workingSelect'})
599 63 52 $nrRunningChildren >= $self->{'maxProcs'} ? :
611 120 15 if ($pid)
614 105 15 if ($self->{'workingSelect'}) { }
632 15 0 unless (defined wantarray)
644 17 1 if ($self->{'workingSelect'})
664 16 0 if (ref $_[1] eq 'ARRAY') { }
680 0 5 if ($varRef) { }
707 15 108 if ($loops->in_child)
746 15 108 if ($self->{'loops'}->in_child)