| blib/lib/Perl/Critic/Policy/Modules/RequireExplicitPackage/ObjectPad.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 45 | 6 | 14 | if $_[1]->parent == $_[0] and $_[1]->isa("PPI::Statement::Include") and ($_[1]->type // "") eq "use" |
| 50 | 2 | 5 | unless $object_pad |
| 53 | 9 | 16 | if $_[1]->parent == $_[0] and $_[1]->isa("PPI::Statement") and $_[1]->child(0)->isa("PPI::Token::Word") |
| 58 | 1 | 4 | unless $class |
| 59 | 0 | 4 | unless "$class" =~ /class\s+(\w+)/ |