Branch Coverage

blib/lib/File/Globstar/ListMatch.pm
Criterion Covered Total %
branch 35 40 87.5


line true false branch
33 38 2 if (ref $input) { }
1 1 elsif ('GLOB' eq &reftype(\$input)) { }
35 36 2 if ('SCALAR' eq $type) { }
1 1 elsif ('ARRAY' eq $type) { }
58 47 89 if ($type & 1) { }
59 3 44 unless $match
62 0 89 if $match
68 36 53 if $match
71 35 18 unless ($imode)
75 3 12 if $self->__match(undef, $path, 1)
118 1 77 if $@
130 6 86 if $line =~ /^#/
134 12 74 if ($line =~ s/(\\*)([\x{9}-\x{13} ])[\x{9}-\x{13} ]*$//)
136 4 8 if ($bs)
143 3 1 if $num_bs & 1
146 11 75 if '' eq $line
158 0 3 if &File::Globstar::empty($filename)
163 0 3 if $fh->error
173 1 0 if &File::Globstar::empty($self->{'__filename'})
175 0 1 unless open my $fh, '<', $filename