Branch Coverage

blib/lib/System/Wrapper.pm
Criterion Covered Total %
branch 0 142 0.0


line true false branch
48 0 0 if (defined $interpreter)
60 0 0 if (defined $executable)
72 0 0 if (defined $args)
77 0 0 wantarray ? :
95 0 0 if (defined $spec)
103 0 0 wantarray ? :
109 0 0 if (defined $path)
110 0 0 if 'SCALAR' eq ref \$path
113 0 0 unless -d $_
121 0 0 wantarray ? :
127 0 0 if ($capture)
136 0 0 if ($description)
145 0 0 if ($progress)
154 0 0 if (defined $order)
155 0 0 if ('ARRAY' eq ref $order) { }
156 0 0 if (@$order) { }
161 0 0 if scalar @{$$self{'order'};} < scalar @$order
166 0 0 unless exists $spec{$$order[$_]}
182 0 0 wantarray ? :
191 0 0 wantarray ? :
197 0 0 $self->description ? :
207 0 0 if ($self->debug)
214 0 0 if ($self->verbose)
225 0 0 $self->capture ? :
227 0 0 unless $self->_did_run($@, $?)
246 0 0 if not exists $$self{$key} or $key =~ /^_/
260 0 0 unless $self->progress
262 0 0 unless $self->input
278 0 0 unless $self->output
280 0 0 if ('HASH' eq $self->_output_type) { }
0 0 elsif ('ARRAY' eq $self->_output_type) { }
0 0 elsif ('SCALAR' eq $self->_output_type) { }
286 0 0 unless defined $output{$spec}
288 0 0 if -p $output{$spec}
299 0 0 if -p $name
322 0 0 unless $self->output
326 0 0 if ('HASH' eq $self->_output_type) { }
0 0 elsif ('ARRAY' eq $self->_output_type) { }
0 0 elsif ('SCALAR' eq $self->_output_type) { }
359 0 0 if -p $name
365 0 0 if $self->verbose
366 0 0 if $self->debug
374 0 0 if (my $nonexistent_file = $self->_inputs_not_available)
375 0 0 -e $nonexistent_file ? :
381 0 0 unless $self->interpreter or $self->executable
385 0 0 unless $self->_interpreter or $self->_executable
396 0 0 if $eval_error
400 0 0 $child_error & 255 ? :
0 0 if $child_error
415 0 0 unless -r $_
424 0 0 unless $program
428 0 0 if $dir and -f $program || -l $program and !defined($is_executable) || -x $program
436 0 0 if -f $path || -l $path and !defined($is_executable) || -x $path
447 0 0 unless $struct
448 0 0 unless ref $struct
449 0 0 if 'SCALAR' eq ref $struct
450 0 0 if 'ARRAY' eq ref $struct
451 0 0 if 'HASH' eq ref $struct
457 0 0 unless ref $struct
463 0 0 if $@
470 0 0 if ('ARRAY' eq ref $struct) { }
0 0 elsif ('HASH' eq ref $struct) { }
0 0 elsif ('SCALAR' eq ref $struct) { }
471 0 0 unless @$struct
476 0 0 unless %$struct
478 0 0 unless defined $key and defined $value
484 0 0 unless $$struct
496 0 0 wantarray ? :
502 0 0 unless $self->_destroy
504 0 0 if ($self->_tmp)
512 0 0 if ($self->_fifo)