| line |
true |
false |
branch |
|
132
|
0 |
0 |
unless ($Proc::Fork::Control::HEAP->{'max_children'}) |
|
136
|
0 |
0 |
unless (defined $Proc::Fork::Control::HEAP->{'children'}) |
|
140
|
0 |
0 |
unless (defined $Proc::Fork::Control::HEAP->{'max_children'}) |
|
148
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'children'} < $Proc::Fork::Control::HEAP->{'max_children'}) |
|
152
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'children'}) |
|
153
|
0 |
0 |
if ($cl) { } |
|
169
|
0 |
0 |
$delay > 5000 ? : |
|
177
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'is_child'}) |
|
182
|
0 |
0 |
if ($pid < 0) { } |
|
|
0 |
0 |
elsif ($pid) { } |
|
193
|
0 |
0 |
if (ref $code eq 'CODE') |
|
258
|
0 |
0 |
if $err |
|
282
|
0 |
1 |
$ic ? : |
|
284
|
1 |
0 |
unless $ic |
|
286
|
0 |
1 |
if ($_[0]) |
|
324
|
0 |
0 |
if $_[0] |
|
335
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'nonblocking'} |
|
337
|
0 |
0 |
if $to |
|
343
|
0 |
0 |
if (not $Proc::Fork::Control::HEAP->{'children'}) { } |
|
|
0 |
0 |
elsif ($to and time >= $to) { } |
|
349
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'children'}) |
|
350
|
0 |
0 |
if ($cl) { } |
|
366
|
0 |
0 |
$delay > 5000 ? : |
|
386
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'nonblocking'} |
|
391
|
0 |
0 |
unless (kill undef, $PID[$i]) |
|
396
|
0 |
0 |
unless @PID |
|
413
|
0 |
0 |
$Proc::Fork::Control::HEAP->{'children'} ? : |
|
428
|
0 |
0 |
unless chdir '/' |
|
429
|
0 |
0 |
unless ($q) |
|
435
|
0 |
0 |
unless defined(my $pid = fork) |
|
436
|
0 |
0 |
if $pid |
|
437
|
0 |
0 |
unless setsid() |
|
448
|
0 |
0 |
unless $sleep =~ /^\d+$/ |
|
454
|
0 |
0 |
if ($sleeper < 0 or $sleep <= 0) { } |
|
|
0 |
0 |
elsif (not $sleeper) { } |
|
462
|
0 |
0 |
if ($remain ne $sleeper and $remain < $sleep) { } |
|
490
|
0 |
0 |
if ($sleeper < 0 or $sleep <= 0) { } |
|
|
0 |
0 |
elsif (not $sleeper) { } |
|
498
|
0 |
0 |
if ($remain ne $sleeper and $remain < $sleep) { } |
|
535
|
0 |
0 |
unless ($sig) |
|
539
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}) |
|
556
|
0 |
0 |
unless ($Proc::Fork::Control::HEAP->{'cidlist'}) |
|
560
|
0 |
0 |
if ($use_hash) { } |
|
578
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}{$pid}) { } |
|
590
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}{$p}) |
|
597
|
0 |
0 |
if ($our) |
|
607
|
0 |
0 |
if (@dpid) |
|
609
|
0 |
0 |
if (exists $Proc::Fork::Control::HEAP->{'cidlist'}{$_}) |
|
613
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'children'} |
|
620
|
0 |
0 |
unless (kill 0, $_) |
|
621
|
0 |
0 |
if (exists $Proc::Fork::Control::HEAP->{'cidlist'}{$_}) |
|
625
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'children'} |