Branch Coverage

blib/lib/IPC/Run/Win32Helper.pm
Criterion Covered Total %
branch 1 128 0.7


line true false branch
55 0 1 length pack('P', undef) == 4 ? :
62 0 0 unless defined $_
64 0 0 if ref $fd
65 0 0 if &_debugging_details()
70 0 0 if not defined $osfh or $osfh == '18446744073709551615'
79 0 0 unless defined $_
81 0 0 if ref $fd
82 0 0 if &_debugging_details()
87 0 0 if not defined $osfh or $osfh == '18446744073709551615'
205 0 0 unless $saw_pipe
208 0 0 if &_debugging_details() and $ok_to_optimize_outputs
210 0 0 if &_debugging_details() and $veto_output_optimization
213 0 0 if ($h->{'noinherit'} and not $ok_to_optimize_outputs)
214 0 0 if &_debugging_details() and $ok_to_optimize_outputs
220 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 '|') { }
221 0 0 if ($_->{'TYPE'} eq "<")
222 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'}) { }
228 0 0 if ($_->{'KFD'} == 0)
232 0 0 if &_debugging_details()
240 0 0 if ($_->{'KFD'} == 0)
241 0 0 if &_debugging_details()
259 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()
266 0 0 if &_debugging_details()
271 0 0 if &_debugging_details() or &_debugging_not_optimized()
279 0 0 unless ($ok_to_optimize_outputs or $veto_output_optimization)
280 0 0 if &_debugging_details() or &_debugging_not_optimized()
285 0 0 if ($ok_to_optimize_outputs and $veto_output_optimization)
287 0 0 if &_debugging_details() or &_debugging_not_optimized()
297 0 0 if ($_->{'TYPE'} eq ">")
298 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))
322 0 0 ref $_->{'DEST'} ? :
0 0 defined $_->{'FILENAME'} ? :
0 0 defined $_->{'DEST'} ? :
0 0 @{$_->{'FILTERS'};} ? :
0 0 if &_debugging_details()
389 0 0 if exists $saved->{$fd}
404 0 0 if (exists $saved_as->{$fd2})
414 0 0 if &_debugging_details()
423 0 0 if (UNIVERSAL::isa($cmd, 'IPC::Run::Win32Process')) { }
0 0 elsif (not $cmd->[0] =~ /\.(bat|cmd) *$/i) { }
449 0 0 if ($cmd->[0] =~ /["\r\n\0]/)
462 0 0 if (@$cmd > 1)
473 0 0 if ($cmd_line =~ s/%/%ipcrunpct%/g) { }
481 0 0 if &_debugging()
483 0 0 if &_debugging()
497 0 0 if defined $op->{'FD'}
499 0 0 if (defined $op->{'KFD'} and $op->{'KFD'} > 2)
508 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') { }
509 0 0 unless ($op->{'TFD'} == $op->{'KFD'})
516 0 0 unless $op->{'KFD1'} == $op->{'KFD2'}
528 0 0 if $need_pct
538 0 0 unless (Win32::Process::Create($process, $app, $cmd_line, 1, 0, "."))