Condition Coverage

blib/lib/Parallel/ForkManager.pm
Criterion Covered Total %
condition 18 33 54.5


and 3 conditions

line !l l&&!r l&&r condition
87 0 3405 2805 $s->{'max_proc'} and keys %{$$s{'processes'};} >= $s->{'max_proc'}
137 851 0 251 defined $kid and $kid > 0 || $kid < -1
327 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
189 1102 2987 $flag ||= 0
228 1 0 $nbr ||= 1
239 0 23 $pid or 0

or 3 conditions

line l !l&&r !l&&!r condition
137 251 0 0 $kid > 0 || $kid < -1
157 0 0 45 not $retrieved or $@
177 0 0 12 not $stored or $@
193 0 0 3236 $kid == 0 or $kid == -1
245 0 45 3191 $s->{'on_finish'}{$pid} || $s->{'on_finish'}{'0'}