blib/lib/Perl/Critic/Policy/Modules/RequireFilenameMatchesPackage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
42 | 7 | 57 | unless $pkg_node |
44 | 1 | 56 | if $pkg eq "main" |
50 | 30 | 26 | unless $filename |
65 | 26 | 17 | if ($pkg_part eq $path_part) |
71 | 6 | 11 | if $path_part =~ /\W/msx |
77 | 15 | 0 | if $matched_any |