Branch Coverage

blib/lib/Perl/Critic/Policy/Community/PackageMatchesFilename.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
21 1 3 unless $doc->is_module and $doc->filename and $doc->filename =~ /\.pm\z/
34 1 3 unless $part eq $path_copy->basename
41 2 1 if $found_match