Branch Coverage: lib/SimpleFlow.pm

# Branch Coverage

File: | lib/SimpleFlow.pm
Coverage: | 80.3%

line | % | coverage | branch
--- | --- | --- | ---
22 | 0 | T | F | if $^O eq "MSWin32" and not $ENV{'WT_SESSION'} and not $ENV{'ConEmuANSI'} and not $ENV{'ANSICON'}
39 | 100 | T | F | unless (&openhandle($fh))
54 | 100 | T | F | if (@_ == 1 and ref $_[0] eq 'HASH') { }
| 100 | T | F | elsif (@_ % 2 == 0) { }
66 | 100 | T | F | if (scalar @undef_args > 0)
80 | 100 | T | F | if (scalar @bad_args > 0)
86 | 100 | T | F | if (defined $args->{'log.fh'} and not &openhandle($args->{'log.fh'}))
94 | 100 | T | F | if (defined $args->{'input.files'})
97 | 100 | T | F | if ($ref eq 'ARRAY') { }
| 100 | T | F | elsif ($ref eq '') { }
100 | 50 | T | F | if defined $_
104 | 50 | T | F | if defined $_
109 | 100 | T | F | if (scalar @missing_files > 0)
117 | 50 | T | F | if (scalar @empty_filenames > 0)
123 | 100 | T | F | if defined $args->{'log.fh'}
124 | 100 | T | F | if (defined $args->{'output.files'})
126 | 100 | T | F | if ($ref eq 'ARRAY') { }
| 100 | T | F | elsif ($ref eq '') { }
135 | 50 | T | F | if defined $_
136 | 100 | T | F | if (scalar @empty_filenames > 0)
140 | 100 | T | F | if (scalar @output_files > 0)
155 | 100 | T | F | if $args->{'dry.run'}
157 | 100 | T | F | if (defined $args->{'input.files'})
165 | 100 | T | F | if (not $args->{'overwrite'} and scalar @output_files > 0 and scalar @existing_files == scalar @output_files) { }
171 | 50 | T | F | if defined $args->{'log.fh'}
177 | 100 | T | F | if ($r{'dry.run'})
198 | 50 | T | F | if (not defined $status or $status == -1) { }
| 50 | T | F | elsif ($^O eq 'MSWin32') { }
215 | 100 | T | F | if (scalar @missing_output_files > 0)
219 | 50 | T | F | if defined $args->{'log.fh'}
220 | 50 | T | F | if defined $args->{'log.fh'}
222 | 50 | T | F | if defined $args->{'log.fh'}
224 | 50 | T | F | if defined $args->{'log.fh'}
226 | 50 | T | F | if defined $args->{'log.fh'}
227 | 50 | T | F | if ($r{'die'}) { }
237 | 100 | T | F | if (scalar @files_with_zero_size > 0)
241 | 100 | T | F | if defined $args->{'log.fh'}
242 | 100 | T | F | if ($r{'die'} and $r{'exit'} != 0)