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 $_
128 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)
181 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)
238 0 0 if $allstderrprintdone
246 0 0 unless ($is_use_prompt)
247 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
440 0 0 if (not defined $value)
448 0 0 if ($syntax{$_} ne $EMPTY_STR)
472 0 0 if ($rule =~ /^-/msx) { }
483 0 0 if ($rule ne $NONE)
486 0 0 if (not exists $syntax{$rule}) { }
0 0 elsif ($syntax{$rule} eq $EMPTY_STR) { }
516 0 0 if ($value eq $EMPTY_STR) { }
0 0 elsif ($value =~ /^-/msx) { }
564 0 0 if ($cmdlinearray[$_] =~ /$regex/)
567 0 0 if ($` eq $EMPTY_STR and $' eq $EMPTY_STR)
598 0 0 if ($@)
600 0 0 if ($logcreated)
608 0 0 if ($state{'blockdelimiter'} ne $EMPTY_STR)
611 0 0 if ($state{'statemarker'} eq $label{'egress'})
614 0 0 if ($is_unique_list) { }
624 0 0 if ($ARGV =~ /^-/msx)
629 0 0 if ($is_with_fileinfo) { }
660 0 0 if ($@)
662 0 0 if ($logcreated)
671 0 0 if ($ARGV =~ /^-/msx)
676 0 0 if ($is_add_label and $is_with_fileinfo)
680 0 0 if (not $is_add_label and $is_with_fileinfo)
684 0 0 if ($is_add_label and not $is_with_fileinfo)
688 0 0 unless ($is_add_label or $is_with_fileinfo)
716 0 0 if ($@)
718 0 0 if ($logcreated)
726 0 0 if ($state{'statemarker'} eq $label{'heredoc'})
729 0 0 if ($ARGV =~ /^-/msx)
734 0 0 if (@gl_delimiterarray) { }
738 0 0 if ($state{'blockdelimiter'} eq $lineitem)
743 0 0 if ($is_add_code and $is_with_fileinfo)
747 0 0 if (not $is_add_code and $is_with_fileinfo)
751 0 0 if ($is_add_code and not $is_with_fileinfo)
755 0 0 unless ($is_add_code or $is_with_fileinfo)
772 0 0 if ($is_add_code and $is_with_fileinfo)
776 0 0 if (not $is_add_code and $is_with_fileinfo)
780 0 0 if ($is_add_code and not $is_with_fileinfo)
784 0 0 unless ($is_add_code or $is_with_fileinfo)
811 0 0 if ($cmdlinearray[$_] =~ /(-[a-zA-Z])+/) { }
834 0 0 if ($file ne $EMPTY_STR)
862 0 0 unless open $log_fh, '>>', $log_fname