| 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'} |
|
392
|
0 |
0 |
if (kill undef, $PID[$i]) |
|
399
|
0 |
0 |
unless @PID |
|
416
|
0 |
0 |
$Proc::Fork::Control::HEAP->{'children'} ? : |
|
431
|
0 |
0 |
unless chdir '/' |
|
432
|
0 |
0 |
unless ($q) |
|
438
|
0 |
0 |
unless defined(my $pid = fork) |
|
439
|
0 |
0 |
if $pid |
|
440
|
0 |
0 |
unless setsid() |
|
451
|
0 |
0 |
unless $sleep =~ /^\d+$/ |
|
457
|
0 |
0 |
if ($sleeper < 0 or $sleep <= 0) { } |
|
|
0 |
0 |
elsif (not $sleeper) { } |
|
465
|
0 |
0 |
if ($remain ne $sleeper and $remain < $sleep) { } |
|
493
|
0 |
0 |
if ($sleeper < 0 or $sleep <= 0) { } |
|
|
0 |
0 |
elsif (not $sleeper) { } |
|
501
|
0 |
0 |
if ($remain ne $sleeper and $remain < $sleep) { } |
|
538
|
0 |
0 |
unless ($sig) |
|
542
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}) |
|
559
|
0 |
0 |
unless ($Proc::Fork::Control::HEAP->{'cidlist'}) |
|
563
|
0 |
0 |
if ($use_hash) { } |
|
581
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}{$pid}) { } |
|
593
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}{$p}) |
|
600
|
0 |
0 |
if ($our) |
|
610
|
0 |
0 |
if (@dpid) |
|
612
|
0 |
0 |
if (exists $Proc::Fork::Control::HEAP->{'cidlist'}{$_}) |
|
616
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'children'} |
|
623
|
0 |
0 |
unless (kill 0, $_) |
|
624
|
0 |
0 |
if (exists $Proc::Fork::Control::HEAP->{'cidlist'}{$_}) |
|
628
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'children'} |