Condition Coverage

blib/lib/Parallel/ForkManager.pm
Criterion Covered Total %
condition 22 44 50.0


and 3 conditions

line !l l&&!r l&&r condition
31 237 0 0 defined $tempdir and length $tempdir
34 0 0 237 -e $tempdir and -d _
45 0 3405 2900 $s->{'max_proc'} and keys %{$$s{'processes'};} >= $s->{'max_proc'}
105 851 0 153 defined $kid and $kid > 0 || $kid < -1
284 0 100 137 $self->{'auto_cleanup'} and $self->{'parent_pid'} == $$
100 0 137 $self->{'auto_cleanup'} and $self->{'parent_pid'} == $$ and -d $self->{'tempdir'}

or 2 conditions

line l !l condition
91 0 98 $x || 0
118 1004 3082 $flag ||= 0
173 1 0 $nbr ||= 1
184 0 23 $pid or 0

or 3 conditions

line l !l&&r !l&&!r condition
37 0 237 0 ref $c || $c
87 0 0 12 not $stored or $@
105 153 0 0 $kid > 0 || $kid < -1
122 0 0 3233 $kid == 0 or $kid == -1
133 0 0 45 not $retrieved or $@
190 0 45 3188 $s->{'on_finish'}{$pid} || $s->{'on_finish'}{'0'}