Branch Coverage

blib/lib/Proc/Short.pm
Criterion Covered Total %
branch 2 54 3.7


line true false branch
166 0 0 if (-f $_ and -x $_) { }
175 0 0 if scalar @_ == 1
176 0 0 if wantarray
194 0 0 unless findexec($exec)
277 0 0 if (($pid = fork) == 0)
279 0 0 if $time_per_try < $t
284 0 0 unless open STDOUT, '>&=PUTSTDOUT'
287 0 0 unless open STDERR, '>&=PUTSTDERR'
291 0 0 if (ref $cmd eq 'CODE') { }
302 0 0 if (defined $WNOHANG) { }
317 0 0 if ($@ =~ /$alarm_msg\s*$/) { }
0 0 elsif (not defined $pid and $! =~ /No more process/) { }
0 0 elsif (not defined $pid) { }
0 0 elsif (defined $patout or defined $paterr) { }
327 0 0 unless $out =~ /$patout/
328 0 0 unless $err =~ /$paterr/
333 0 0 if ($ntry < $self->num_tries or time < $endtime) { }
0 0 elsif ($redo) { }
340 0 0 unless wantarray
389 0 0 unless my $type = ref $self
392 0 0 unless (exists $$self{$name})
395 0 0 if (@_)
397 0 0 if (defined $intdefaults{$name} and not $val =~ /\d+/)
409 0 0 unless $Debug
410 0 0 if (ref $_[0]) { }
431 0 1 unless open STDERR, '>/dev/null'
441 0 1 if $@