| blib/lib/Perl/Critic/Policy/logicLAB/RequirePackageNamePattern.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 22 | 68.1 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 0 | 13 | if ($$self{'exempt_programs'} and $document->is_program) |
| 40 | 1 | 12 | unless ($$self{'_names'}) |
| 46 | 12 | 0 | if ($children[0]->content eq 'package') { } |
| 51 | 0 | 12 | if ($$self{'debug'}) |
| 64 | 0 | 14 | if ($$self{'debug'}) |
| 68 | 6 | 8 | unless ($package =~ /$regex/sx) |
| 69 | 1 | 5 | if ($no_of_patterns > 1) { } |
| 72 | 0 | 1 | if ($no_of_patterns == $no_of_violations) |
| 108 | 0 | 13 | if ($$self{'debug'}) |
| 113 | 12 | 1 | if ($names) |
| 128 | 0 | 12 | if ($$self{'debug'}) |