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 1 if ($self->{'die_on_error'} and $output->{'errors'}) { }
111 0 0 unless (-s "$file")
121 0 1 if ($self->{'die_on_error'} and $output->{'errors'}) { }
139 0 1 if (not $self->{'no_cache'} and defined $cache)
144 0 1 if (defined $self->{'save_stderr'} and $self->{'save_stderr'} ne '1')
153 0 1 if defined $self->{'save_stderr'}
160 0 1 if ($self->{'die_on_error'} and $output->{'exit_code'})
163 0 1 if defined $self->{'save_stderr'} and $self->{'save_stderr'} ne '1'
169 1 0 unless $self->{'no_cache'}
171 0 1 if ($self->{'die_on_error'} and not $output->{'success'}) { }
206 1 0 defined $self->{'working_dir'} ? :
213 0 1 if (-e "$cache_file") { }
215 0 0 if ($@) { }
228 0 1 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}) { }