blib/lib/HealthCheck/Parallel.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 24 | 95.8 |
line | true | false | branch |
---|---|---|---|
33 | 5 | 14 | if exists $params->{'max_procs'} |
36 | 1 | 17 | if exists $params->{'child_init'} |
45 | 13 | 4 | if ($max_procs > 1) |
46 | 0 | 13 | $tempdir ? : |
55 | 4 | 9 | if ($exit_code != 0) { } |
70 | 20 | 8 | if ($forker) |
71 | 15 | 5 | if $forker->start($i++) |
72 | 1 | 4 | if $child_init |
77 | 3 | 8 | if $forker |
84 | 8 | 4 | if $forker |
92 | 2 | 20 | unless $max_procs =~ /^\d+$/ and $max_procs >= 0 |
99 | 2 | 15 | if defined $child_init and ref $child_init ne "CODE" |