| blib/lib/Perl/Critic/Policy/Moose/ProhibitNewMethod.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 8 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 48 | 12 | 19 | if $document->uses_module($module) |
| 63 | 1 | 6 | unless $self->_is_interesting_document($subdocument) |
| 65 | 3 | 3 | if (my $destructor = $subdocument->find_first(\&Perl::Critic::Policy::Moose::ProhibitNewMethod::_is_constructor)) |
| 83 | 127 | 4 | unless $element->isa('PPI::Statement::Sub') |