Branch Coverage

blib/lib/Filter/Heredoc/App.pm
Criterion Covered Total %
branch 0 162 0.0


line true false branch
87 0 0 if ($is_interactive and $#ARGV == -1)
120 0 0 unless $options_okay
126 0 0 if $_
129 0 0 if $useroptions > 1
133 0 0 if ($is_help) { }
0 0 elsif ($is_version) { }
0 0 elsif ($is_rules) { }
145 0 0 if ($match)
153 0 0 if $_
155 0 0 if $useroptions > 1
159 0 0 if ($is_list or $is_unique)
162 0 0 if ($#gl_delimiterarray >= 0 and $match)
168 0 0 if ($is_use_prompt)
169 0 0 if (not $is_interactive) { }
180 0 0 unless ($is_use_prompt)
182 0 0 if $is_interactive and $#ARGV == -1
194 0 0 if ($#files != -1 and not _is_lone_cli_dash(@ARGV))
200 0 0 unless (-e $files[$_])
207 0 0 if (-d $files[$_]) { }
0 0 elsif (-r -f -T $files[$_]) { }
221 0 0 if ($exit_now_flag)
223 0 0 if (@text_files)
239 0 0 if $allstderrprintdone
246 0 0 unless ($is_use_prompt)
248 0 0 if $is_interactive and $#text_files == -1
253 0 0 if ($syntax)
263 0 0 if ($is_list || $is_unique and not $is_use_prompt) { }
0 0 elsif (not $is_use_prompt) { }
265 0 0 unless ($is_quiet)
278 0 0 unless ($is_quiet)
283 0 0 if ($is_debug) { }
298 0 0 if ($is_use_prompt) { }
0 0 elsif (eof) { }
302 0 0 if ($@)
304 0 0 if ($logcreated)
318 0 0 if ($is_unique)
319 0 0 if ($is_quiet) { }
329 0 0 if ($match)
330 0 0 unless ($gl_is_successful_match)
331 0 0 unless $is_quiet
439 0 0 if (not defined $value)
447 0 0 if ($syntax{$_} ne $EMPTY_STR)
471 0 0 if ($rule =~ /^-/msx) { }
482 0 0 if ($rule ne $NONE)
485 0 0 if (not exists $syntax{$rule}) { }
0 0 elsif ($syntax{$rule} eq $EMPTY_STR) { }
515 0 0 if ($value eq $EMPTY_STR) { }
0 0 elsif ($value =~ /^-/msx) { }
563 0 0 if ($cmdlinearray[$_] =~ /$regex/)
566 0 0 if ($` eq $EMPTY_STR and $' eq $EMPTY_STR)
597 0 0 if ($@)
599 0 0 if ($logcreated)
607 0 0 if ($state{'blockdelimiter'} ne $EMPTY_STR)
610 0 0 if ($state{'statemarker'} eq $label{'egress'})
613 0 0 if ($is_unique_list) { }
623 0 0 if ($ARGV =~ /^-/msx)
628 0 0 if ($is_with_fileinfo) { }
659 0 0 if ($@)
661 0 0 if ($logcreated)
670 0 0 if ($ARGV =~ /^-/msx)
675 0 0 if ($is_add_label and $is_with_fileinfo)
679 0 0 if (not $is_add_label and $is_with_fileinfo)
683 0 0 if ($is_add_label and not $is_with_fileinfo)
687 0 0 unless ($is_add_label or $is_with_fileinfo)
715 0 0 if ($@)
717 0 0 if ($logcreated)
725 0 0 if ($state{'statemarker'} eq $label{'heredoc'})
728 0 0 if ($ARGV =~ /^-/msx)
733 0 0 if (@gl_delimiterarray) { }
737 0 0 if ($state{'blockdelimiter'} eq $lineitem)
742 0 0 if ($is_add_code and $is_with_fileinfo)
746 0 0 if (not $is_add_code and $is_with_fileinfo)
750 0 0 if ($is_add_code and not $is_with_fileinfo)
754 0 0 unless ($is_add_code or $is_with_fileinfo)
771 0 0 if ($is_add_code and $is_with_fileinfo)
775 0 0 if (not $is_add_code and $is_with_fileinfo)
779 0 0 if ($is_add_code and not $is_with_fileinfo)
783 0 0 unless ($is_add_code or $is_with_fileinfo)
810 0 0 if ($cmdlinearray[$_] =~ /(-[a-zA-Z])+/) { }
833 0 0 if ($file ne $EMPTY_STR)
861 0 0 unless open $log_fh, '>>', $log_fname