Branch Coverage

blib/lib/Proc/Reliable.pm
Criterion Covered Total %
branch 0 156 0.0


line true false branch
308 0 0 if $Debug
316 0 0 if (ref $cmd eq 'ARRAY') { }
0 0 elsif (ref $cmd eq 'CODE') { }
328 0 0 if (defined $input)
329 0 0 if (ref $input) { }
336 0 0 if ($self->input_chunking)
344 0 0 if (defined $self->want_single_list) { }
379 0 0 if $Debug
387 0 0 unless pipe GETSTDOUT, PUTSTDOUT
388 0 0 unless pipe GETSTDERR, PUTSTDERR
395 0 0 if (defined $inputref)
396 0 0 unless pipe GETSTDIN, PUTSTDIN
411 0 0 if ($pid = fork) { }
0 0 elsif (defined $pid) { }
0 0 elsif ($! =~ /No more process/) { }
415 0 0 if (defined $inputref)
428 0 0 if ($t < 1)
445 0 0 if (defined $inputref)
449 0 0 if ($self->in_after_out_closed)
459 0 0 if (defined $win and vec $wout, $fileno_putstdin, 1)
462 0 0 if ($self->input_chunking) { }
463 0 0 if ($gotread)
469 0 0 unless (defined $s)
470 0 0 if ($self->stdin_error_ok) { }
477 0 0 if (scalar @inputlines == 0)
485 0 0 unless defined $s
487 0 0 if ($stdindone >= $stdinlen)
491 0 0 if ($indone)
494 0 0 if ($self->in_after_out_closed)
499 0 0 if (vec $rout, $fileno_getstdout, 1)
502 0 0 if ($cbStdout and $s)
505 0 0 if ($lastcr >= 0)
510 0 0 unless defined $s
512 0 0 unless ($s)
518 0 0 if (vec $rout, $fileno_getstderr, 1)
521 0 0 if ($cbStderr and $s)
524 0 0 if ($lastcr >= 0)
529 0 0 unless defined $s
531 0 0 unless ($s)
541 0 0 if ($cbStdout and $outs)
545 0 0 if ($cbStderr and $oute)
559 0 0 if ($@)
560 0 0 if ($@ =~ /SIG(ALRM|PIPE)/) { }
562 0 0 if ($sig eq 'ALRM') { }
586 0 0 if (not defined $$self{'status'} and kill 0, $pid and $self->sigterm_exit_time)
598 0 0 if (not defined $$self{'status'} and kill 0, $pid and $self->sigkill_exit_time)
614 0 0 if (not defined $$self{'status'}) { }
615 0 0 if (kill 0, $pid)
623 0 0 if (kill 0, $pid)
636 0 0 if (defined $inputref)
640 0 0 unless open STDOUT, '>&=PUTSTDOUT'
641 0 0 if ($do_single_list) { }
642 0 0 unless open STDERR, '>&=PUTSTDOUT'
645 0 0 unless open STDERR, '>&=PUTSTDERR'
648 0 0 if (defined $inputref)
649 0 0 unless open STDIN, '<&=GETSTDIN'
653 0 0 if (ref $cmd eq 'CODE') { }
0 0 elsif (ref $cmd eq 'ARRAY') { }
683 0 0 if (defined $patout or defined $paterr)
684 0 0 unless $$self{'stdout'} =~ /$patout/
685 0 0 unless $$self{'stderr'} =~ /$paterr/
687 0 0 if ($self->accept_no_error and $$self{'stderr'})
691 0 0 if $Debug
692 0 0 if $Debug
693 0 0 if $Debug
694 0 0 if $Debug
696 0 0 if ($redo) { }
697 0 0 if ($ntry >= $$self{'num_tries'})
701 0 0 if (time + $self->time_btw_tries >= $endtime)
712 0 0 if (wantarray) { }
825 0 0 unless my $type = ref $self
828 0 0 unless (exists $$self{$name})
831 0 0 if (@_)
833 0 0 unless (exists $intdefaults{$name})
850 0 0 $a > $b ? :
857 0 0 $a < $b ? :
864 0 0 unless $Debug
865 0 0 if (ref $_[0]) { }