Branch Coverage

blib/lib/File/Findgrep.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
31 0 0 unless @_
32 0 0 unless @_
37 0 0 if ($_[0] eq '-R') { }
0 0 elsif ($_[0] =~ /^-m=?(\d+)/s) { }
0 0 elsif ($_[0] =~ /^-m=?(\d+)[Kk]$/s) { }
0 0 elsif ($_[0] =~ /^-m=?(\d+)M$/s) { }
0 0 elsif ($_[0] =~ /^-m=?(\d+)G$/s) { }
0 0 elsif ($_[0] =~ /^-M=?(\d+)/s) { }
0 0 elsif ($_[0] =~ /^-M=?(\d+)[Kk]$/s) { }
0 0 elsif ($_[0] =~ /^-M=?(\d+)M$/s) { }
0 0 elsif ($_[0] =~ /^-M=?(\d+)G$/s) { }
0 0 elsif ($_[0] eq '--') { }
0 0 elsif ($_[0] eq '-h') { }
53 0 0 if $_m > $_M
59 0 0 unless @_
63 0 0 if $@
68 0 0 if (@_) { }
70 0 0 if ($file_pattern =~ /^[*?]/s)
78 0 0 if $@
88 0 0 unless @dirs
94 0 0 unless $dir =~ m[[\\/]$]s
96 0 0 unless (opendir INDIR, $dir)
111 0 0 if $f eq '.' or $f eq '..'
115 0 0 if (-l $f) { }
0 0 elsif (-d _ and $_R) { }
0 0 elsif (-f _ and -s _ >= $_m and -s _ <= $_M) { }
126 0 0 if ($basename =~ /$File::Findgrep::binary_re/) { }
0 0 elsif ($basename =~ /$file_pattern/) { }
136 0 0 unless (open IN, "<$f")
145 0 0 if ($chunk =~ /[\x00-\x08\x0b\x0e-\x1F]/s) { }
0 0 elsif ($chunk =~ /(\cm\cj|\cm|\cj)/s) { }
161 0 0 unless $_ =~ /$line_pattern/
168 0 0 if $count_this_file