Branch Coverage

blib/lib/Proch/Cmd.pm
Criterion Covered Total %
branch 12 38 31.5


line true false branch
86 0 0 unless (-s "$file")
96 0 2 if ($self->{'die_on_error'} and $output->{'errors'}) { }
112 0 0 unless (-s "$file")
122 0 2 if ($self->{'die_on_error'} and $output->{'errors'}) { }
140 0 2 if (not $self->{'no_cache'} and defined $cache)
144 0 2 if (defined $self->{'save_stderr'} and $self->{'save_stderr'} ne '1')
153 0 2 if defined $self->{'save_stderr'}
160 0 1 if ($self->{'die_on_error'} and $output->{'exit_code'})
163 0 2 if defined $self->{'save_stderr'} and $self->{'save_stderr'} ne '1'
169 2 0 unless $self->{'no_cache'}
171 0 2 if ($self->{'die_on_error'} and not $output->{'success'}) { }
206 2 0 defined $self->{'working_dir'} ? :
213 0 2 if (-e "$cache_file") { }
215 0 0 if ($@) { }
228 0 2 unless defined $self->{'cache_file'}
236 0 0 if $self->{'debug'} < 1
242 0 0 if ($self->{'verbose'} > 0 or $self->{'debug'} > 0)
248 0 0 if (defined $GLOBAL{$key}) { }
257 0 0 if (defined $GLOBAL{$key}) { }