Branch Coverage

blib/lib/Perl/Critic/Policy/Moose/ProhibitDESTROYMethod.pm
Criterion Covered Total %
branch 8 8 100.0


line true false branch
44 12 7 if $document->uses_module($module)
59 1 6 unless $self->_is_interesting_document($subdocument)
61 3 3 if (my $destructor = $subdocument->find_first(\&_is_destructor))
79 128 5 unless $element->isa('PPI::Statement::Sub')