Branch Coverage

blib/lib/Parse/Gitignore.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
13 1 2 if (-d $gitignore_file)
16 0 3 unless (-f $gitignore_file)
20 1 2 if ($obj->{'verbose'})
26 1 2 if ($obj->{'verbose'})
32 3 6 if ($line =~ /^\s*(#|$)/)
35 4 2 if ($obj->{'verbose'})
38 1 5 if ($line =~ m[/$])
39 1 0 if ($obj->{'verbose'})
44 1 0 if ($obj->{'verbose'})
53 3 2 if ($obj->{'verbose'})
71 0 0 unless (-f $excludesfile)
79 0 0 if (/^\s*(#|$)/)
99 2 0 if ($gitignore_file)
100 1 1 if ($obj->{'verbose'})
112 5 2 if ($obj->{'verbose'})
113 4 1 if ($obj->{'ignored'}{$file})