Branch Coverage

blib/lib/Connector/Proxy/Proc/SafeExec.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
53 0 0 unless (-x $self->LOCATION)
80 0 28 unless $template->process(\$item, $template_vars, \$value)
87 6 11 if (defined $self->stdin)
89 3 3 if (ref $self->stdin eq '') { }
3 0 elsif (ref $self->stdin eq 'ARRAY') { }
96 0 9 unless $template->process(\$line, $template_vars, \$value)
104 8 9 if (defined $self->env)
105 8 0 if (ref $self->env eq "HASH")
108 0 8 unless $template->process(\$self->env->{$key}, $template_vars, \$value)
133 6 11 if (scalar @feed_to_stdin)
140 1 0 if ($_ eq "alarm\n")
154 1 15 if ($command->exit_status != 0)
164 15 0 if ($self->chomp_output)
176 1 1 if (scalar @path == 0)
189 1 2 if (scalar @path == 0)