Branch Coverage

blib/lib/AppBase/Grep.pm
Criterion Covered Total %
branch 0 76 0.0


line true false branch
223 0 0 if ($args{'dash_prefix_inverts'} and $p =~ s/\A-//)
227 0 0 $opt_ci ? :
229 0 0 unless $args{'_filter_code'} or @re_patterns
232 0 0 $opt_ci ? :
238 0 0 $color eq 'never' ? :
0 0 $color eq 'always' ? :
0 0 defined $ENV{'NO_COLOR'} ? :
0 0 defined $ENV{'COLOR'} ? :
0 0 $ENV{'COLOR'} ? :
244 0 0 if $args{'all'}
251 0 0 if (defined $label and length $label)
252 0 0 if ($use_color) { }
259 0 0 if ($opt_linum)
260 0 0 if ($use_color) { }
267 0 0 if ($use_color) { }
268 0 0 if (defined $highlighted_line) { }
277 0 0 if $chomp
284 0 0 unless defined $line
287 0 0 if $chomp
291 0 0 if (not defined $prevlabel) { }
295 0 0 if ($label ne $prevlabel) { }
296 0 0 if ($opt_files_without_match and not $is_file_match)
308 0 0 if ($args{'_filter_code'}) { }
0 0 elsif ($logic eq 'or') { }
312 0 0 if (not $ref) { }
315 0 0 unless $ref eq "ARRAY"
321 0 0 if ($line =~ /$re/)
329 0 0 unless ($line =~ /$re/)
336 0 0 if ($is_line_match) { }
338 0 0 if ($opt_files_with_matches)
344 0 0 if $opt_invert
345 0 0 if ($opt_quiet or $opt_count) { }
0 0 elsif (not $opt_files_without_match) { }
351 0 0 unless $opt_invert
352 0 0 if ($opt_quiet or $opt_count) { }
360 0 0 if ($opt_files_without_match and not $is_file_match)
365 0 0 $opt_count ? :
0 0 $num_matches ? :