Branch Coverage

blib/lib/Parallel/Loops.pm
Criterion Covered Total %
branch 35 46 76.0


line true false branch
390 0 16 unless pipe $reader, $writer
411 16 48 if (ref $ref eq 'HASH') { }
16 32 elsif (ref $ref eq 'ARRAY') { }
444 99 13 if ($self->{'workingSelect'}) { }
449 0 13 unless open my $in, $filename
460 0 112 if $childOutput eq ''
467 0 112 if ($@)
485 0 112 if ($error)
488 0 112 if $childFinishSub
504 10 5 if ($self->{'workingSelect'}) { }
533 101 13 if ($self->{'workingSelect'}) { }
548 0 135 unless pipe $childRdr, $parentWtr
554 0 135 if ($finishSub)
560 115 20 if ($self->{'workingSelect'})
564 42 73 $nrRunningChildren >= $self->{'maxProcs'} ? :
576 120 15 if ($pid)
579 105 15 if ($self->{'workingSelect'}) { }
597 15 0 unless (defined wantarray)
609 17 1 if ($self->{'workingSelect'})
629 16 0 if (ref $_[1] eq 'ARRAY') { }
645 0 5 if ($varRef) { }
672 15 112 if ($loops->in_child)
711 15 112 if ($self->{'loops'}->in_child)