Branch Coverage

blib/lib/File/Ignore.pm
Criterion Covered Total %
branch 27 48 56.2


line true false branch
166 68 0 if s/:(.*)$//
171 0 68 if m[^/]
173 8 60 if s[/$][]
175 8 60 if ($prune)
233 173 0 if $_[0] and $_[0] eq 'File::Ignore'
236 0 173 if ref $_[0] eq 'HASH'
239 73 100 $self->_collect(1, $option, [$file]) ? :
243 1 0 if $_[0] and $_[0] eq 'File::Ignore'
246 0 1 if ref $_[0] eq 'HASH'
247 0 1 ref $_[0] eq 'ARRAY' ? :
253 1 0 if $_[0] and $_[0] eq 'File::Ignore'
256 0 1 if ref $_[0] eq 'HASH'
257 0 1 ref $_[0] eq 'ARRAY' ? :
266 175 0 if ref $_[0] eq 'HASH'
277 0 187 if (my $tag = $$option{'tag'}) { }
289 83 4906 if ($basename =~ /$$_{'qr'}/)
290 78 5 if $collect_ignoreable
296 0 0 if ($path =~ /$$_{'qr'}/)
297 0 0 if $collect_ignoreable
302 0 104 if ($$option{'pruneable'})
304 0 0 if ($path =~ /$$_{'pruneqr'}/)
305 0 0 if $collect_ignoreable
311 2 102 unless $collect_ignoreable
314 100 75 unless @collection