Condition Coverage

blib/lib/Parallel/ForkManager.pm
Criterion Covered Total %
condition 19 33 57.5


and 3 conditions

line !l l&&!r l&&r condition
87 0 3442 2905 $s->{'max_proc'} and keys %{$$s{"processes"};} >= $s->{'max_proc'}
137 875 0 184 defined $kid and $kid > 0 || $kid < -1
332 3 108 139 $self->{'auto_cleanup'} and $self->{'parent_pid'} == $$
111 0 139 $self->{'auto_cleanup'} and $self->{'parent_pid'} == $$ and -d $self->{'tempdir'}

or 2 conditions

line l !l condition
189 1119 3056 $flag ||= 0
233 1 0 $nbr ||= 1
244 0 36 $pid or 0

or 3 conditions

line l !l&&r !l&&!r condition
137 184 0 0 $kid > 0 || $kid < -1
157 0 0 49 not $retrieved or $@
177 0 0 16 not $stored or $@
193 0 0 3250 $kid == 0 or $kid == -1
250 0 61 3189 $s->{'on_finish'}{$pid} || $s->{'on_finish'}{'0'}