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