Branch Coverage

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


line true false branch
52 0 7 unless (defined $command)
55 0 7 unless (defined $input)
58 0 7 if ($timeout < 0)
63 0 7 if (exists $parameter_tags->{'print_progress_indicator'})
64 0 0 if ($parameter_tags->{'print_progress_indicator'} == $FALSE or $parameter_tags->{'print_progress_indicator'} == $TRUE) { }
74 1 6 if (exists $parameter_tags->{'progress_indicator_char'})
79 0 7 if (exists $parameter_tags->{'execute_every_second'})
80 0 0 if (ref $parameter_tags->{'execute_every_second'} eq 'CODE') { }
95 7 0 if ($command ne $EMPTY_STR and $timeout >= 0) { }
114 1 6 unless (eval { do { $pid = open3($infh, $outfh, $errfh, $command); 1 } })
117 6 1 if ($eval_ok) { }
129 8 12 unless (defined $line)
134 5 7 if ($fh == $outfh) { }
7 0 elsif ($fh == $errfh) { }
145 3 10 if ($timeout == 0)
150 0 13 if ($print_progress_indicator == $TRUE and $out_handles_open > 0)
153 0 13 if ($execute_every_second and $out_handles_open > 0)
161 2 4 if ($out_handles_open > 0)