Branch Coverage

blib/lib/IPC/Run/Win32Helper.pm
Criterion Covered Total %
branch 0 114 0.0


line true false branch
53 0 0 unless defined $_
55 0 0 if ref $fd
56 0 0 if &_debugging_details()
58 0 0 if not defined $osfh or $osfh == INVALID_HANDLE_VALUE()
66 0 0 unless defined $_
68 0 0 if ref $fd
69 0 0 if &_debugging_details()
71 0 0 if not defined $osfh or $osfh == INVALID_HANDLE_VALUE()
188 0 0 unless $saw_pipe
191 0 0 if &_debugging_details() and $ok_to_optimize_outputs
193 0 0 if &_debugging_details() and $veto_output_optimization
196 0 0 if ($h->{'noinherit'} and not $ok_to_optimize_outputs)
197 0 0 if &_debugging_details() and $ok_to_optimize_outputs
203 0 0 if (substr($_->{'TYPE'}, 0, 1) eq '<') { }
0 0 elsif ($_->{'TYPE'} eq 'close' and $_->{'KFD'} == 0) { }
0 0 elsif ($_->{'TYPE'} eq 'dup' and $_->{'KFD2'} == 0) { }
0 0 elsif ($_->{'TYPE'} eq '|') { }
204 0 0 if ($_->{'TYPE'} eq '<')
205 0 0 if (@{$_->{'FILTERS'};} > 1) { }
0 0 elsif (ref $_->{'SOURCE'} eq 'SCALAR' or ref $_->{'SOURCE'} eq 'GLOB' or UNIVERSAL::isa($_, 'IO::Handle')) { }
0 0 elsif (not ref $_->{'SOURCE'} and defined $_->{'SOURCE'}) { }
211 0 0 if ($_->{'KFD'} == 0)
215 0 0 if &_debugging_details()
223 0 0 if ($_->{'KFD'} == 0)
224 0 0 if &_debugging_details()
242 0 0 ref $_->{'SOURCE'} ? :
0 0 defined $_->{'FILENAME'} ? :
0 0 defined $_->{'SOURCE'} ? :
0 0 @{$_->{'FILTERS'};} > 1 ? :
0 0 if &_debugging_details() or &_debugging_not_optimized()
249 0 0 if &_debugging_details()
254 0 0 if &_debugging_details() or &_debugging_not_optimized()
262 0 0 unless ($ok_to_optimize_outputs or $veto_output_optimization)
263 0 0 if &_debugging_details() or &_debugging_not_optimized()
268 0 0 if ($ok_to_optimize_outputs and $veto_output_optimization)
270 0 0 if &_debugging_details() or &_debugging_not_optimized()
280 0 0 if ($_->{'TYPE'} eq '>')
281 0 0 if (ref $_->{'DEST'} eq 'SCALAR' or @{$_->{'FILTERS'};} > 1 || ref $_->{'DEST'} eq 'CODE' || ref $_->{'DEST'} eq 'ARRAY' and ($ok_to_optimize_outputs and not $veto_output_optimization))
305 0 0 ref $_->{'DEST'} ? :
0 0 defined $_->{'FILENAME'} ? :
0 0 defined $_->{'DEST'} ? :
0 0 @{$_->{'FILTERS'};} ? :
0 0 if &_debugging_details()
369 0 0 if exists $saved->{$fd}
384 0 0 if (exists $saved_as->{$fd2})
394 0 0 if &_debugging_details()
412 0 0 if defined $op->{'FD'}
414 0 0 if (defined $op->{'KFD'} and $op->{'KFD'} > 2)
423 0 0 if (defined $op->{'TFD'}) { }
0 0 elsif ($op->{'TYPE'} eq 'dup') { }
0 0 elsif ($op->{'TYPE'} eq 'close') { }
0 0 elsif ($op->{'TYPE'} eq 'init') { }
424 0 0 unless ($op->{'TFD'} == $op->{'KFD'})
431 0 0 unless $op->{'KFD1'} == $op->{'KFD2'}
446 0 0 if /[\"\s]|^$/
450 0 0 if &_debugging()
453 0 0 unless Win32::Process::Create($process, $cmd->[0], $cmd_line, 1, 0, '.')