Branch Coverage

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


line true false branch
57 0 7 unless (defined $command)
60 0 7 unless (defined $input)
63 0 7 if ($timeout < 0)
68 0 7 if (exists $parameter_tags->{'print_progress_indicator'})
69 0 0 if ($parameter_tags->{'print_progress_indicator'} == $FALSE or $parameter_tags->{'print_progress_indicator'} == $TRUE) { }
79 1 6 if (exists $parameter_tags->{'progress_indicator_char'})
84 0 7 if (exists $parameter_tags->{'execute_every_second'})
85 0 0 if (ref $parameter_tags->{'execute_every_second'} eq 'CODE') { }
100 7 0 if ($command ne $EMPTY_STR and $timeout >= 0) { }
119 1 6 unless (eval { do { $pid = open3($infh, $outfh, $errfh, $command); 1 } })
122 6 1 if ($eval_ok) { }
133 8 12 unless (defined $line)
138 5 7 if ($fh == $outfh) { }
7 0 elsif ($fh == $errfh) { }
149 3 10 if ($timeout == 0)
154 0 13 if ($print_progress_indicator == $TRUE and $out_handles_open > 0)
157 0 13 if ($execute_every_second and $out_handles_open > 0)
165 2 4 if ($out_handles_open > 0)