| blib/lib/Perl/Critic/Policy/Documentation/RequirePackageMatchesPodName.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 28 | 16 | unless $pods_ref |
| 48 | 3 | 13 | unless $content =~ /^=head1 [ \t]+ NAME [ \t]*$ \s*/cgmsx |
| 55 | 0 | 13 | unless ($pod_pkg) |
| 64 | 1 | 12 | unless $doc->find("PPI::Statement::Package") |
| 67 | 9 | 4 | if $pkg eq $pod_pkg |