blib/lib/Parallel/ForkManager.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 33 | 54.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 0 | 3405 | 2830 | $s->{'max_proc'} and keys %{$$s{'processes'};} >= $s->{'max_proc'} |
137 | 851 | 0 | 225 | 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'} |
line | l | !l | condition |
---|---|---|---|
189 | 1076 | 3012 | $flag ||= 0 |
228 | 1 | 0 | $nbr ||= 1 |
239 | 0 | 23 | $pid or 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
137 | 225 | 0 | 0 | $kid > 0 || $kid < -1 |
157 | 0 | 0 | 45 | not $retrieved or $@ |
177 | 0 | 0 | 12 | not $stored or $@ |
193 | 0 | 0 | 3235 | $kid == 0 or $kid == -1 |
245 | 0 | 45 | 3190 | $s->{'on_finish'}{$pid} || $s->{'on_finish'}{'0'} |