Branch Coverage

lib/IPC/RunExternal.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
53 0 7 unless (defined $command)
56 0 7 unless (defined $input)
59 0 7 if ($timeout < 0)
64 0 7 if (exists $parameter_tags->{'print_progress_indicator'})
65 0 0 if ($parameter_tags->{'print_progress_indicator'} == $FALSE or $parameter_tags->{'print_progress_indicator'} == $TRUE) { }
75 1 6 if (exists $parameter_tags->{'progress_indicator_char'})
80 0 7 if (exists $parameter_tags->{'execute_every_second'})
81 0 0 if (ref $parameter_tags->{'execute_every_second'} eq 'CODE') { }
96 7 0 if ($command ne $EMPTY_STR and $timeout >= 0) { }
115 1 6 unless (eval { do { $pid = open3($infh, $outfh, $errfh, $command); 1 } })
118 6 1 if ($eval_ok) { }
130 8 12 unless (defined $line)
135 5 7 if ($fh == $outfh) { }
7 0 elsif ($fh == $errfh) { }
146 3 10 if ($timeout == 0)
151 0 13 if ($print_progress_indicator == $TRUE and $out_handles_open > 0)
154 0 13 if ($execute_every_second and $out_handles_open > 0)
162 2 4 if ($out_handles_open > 0)