| line |
true |
false |
branch |
|
131
|
0 |
0 |
unless ($Proc::Fork::Control::HEAP->{'max_children'}) |
|
135
|
0 |
0 |
unless (defined $Proc::Fork::Control::HEAP->{'children'}) |
|
139
|
0 |
0 |
unless (defined $Proc::Fork::Control::HEAP->{'max_children'}) |
|
147
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'children'} < $Proc::Fork::Control::HEAP->{'max_children'}) |
|
151
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'children'}) |
|
152
|
0 |
0 |
if ($cl) { } |
|
168
|
0 |
0 |
$delay > 5000 ? : |
|
176
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'is_child'}) |
|
181
|
0 |
0 |
if ($pid < 0) { } |
|
|
0 |
0 |
elsif ($pid) { } |
|
192
|
0 |
0 |
if (ref $code eq 'CODE') |
|
257
|
0 |
0 |
if $err |
|
281
|
0 |
1 |
$ic ? : |
|
283
|
1 |
0 |
unless $ic |
|
285
|
0 |
1 |
if ($_[0]) |
|
323
|
0 |
0 |
if $_[0] |
|
334
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'nonblocking'} |
|
336
|
0 |
0 |
if $to |
|
342
|
0 |
0 |
if (not $Proc::Fork::Control::HEAP->{'children'}) { } |
|
|
0 |
0 |
elsif ($to and time >= $to) { } |
|
348
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'children'}) |
|
349
|
0 |
0 |
if ($cl) { } |
|
365
|
0 |
0 |
$delay > 5000 ? : |
|
384
|
0 |
0 |
$Proc::Fork::Control::HEAP->{'children'} ? : |
|
399
|
0 |
0 |
unless chdir '/' |
|
400
|
0 |
0 |
unless ($q) |
|
406
|
0 |
0 |
unless defined(my $pid = fork) |
|
407
|
0 |
0 |
if $pid |
|
408
|
0 |
0 |
unless setsid() |
|
419
|
0 |
0 |
unless $sleep =~ /^\d+$/ |
|
425
|
0 |
0 |
if ($sleeper < 0 or $sleep <= 0) { } |
|
|
0 |
0 |
elsif (not $sleeper) { } |
|
433
|
0 |
0 |
if ($remain ne $sleeper and $remain < $sleep) { } |
|
461
|
0 |
0 |
if ($sleeper < 0 or $sleep <= 0) { } |
|
|
0 |
0 |
elsif (not $sleeper) { } |
|
469
|
0 |
0 |
if ($remain ne $sleeper and $remain < $sleep) { } |
|
506
|
0 |
0 |
unless ($sig) |
|
510
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}) |
|
527
|
0 |
0 |
unless ($Proc::Fork::Control::HEAP->{'cidlist'}) |
|
531
|
0 |
0 |
if ($use_hash) { } |
|
549
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}{$pid}) { } |
|
561
|
0 |
0 |
if ($Proc::Fork::Control::HEAP->{'cidlist'}{$p}) |
|
568
|
0 |
0 |
if ($our) |
|
578
|
0 |
0 |
if (@dpid) |
|
580
|
0 |
0 |
if (exists $Proc::Fork::Control::HEAP->{'cidlist'}{$_}) |
|
584
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'children'} |
|
591
|
0 |
0 |
unless (kill 0, $_) |
|
592
|
0 |
0 |
if (exists $Proc::Fork::Control::HEAP->{'cidlist'}{$_}) |
|
596
|
0 |
0 |
if $Proc::Fork::Control::HEAP->{'children'} |