Branch Coverage

blib/lib/Perl/Critic/Policy/TooMuchCode/ProhibitDuplicateSub.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
27 2 3 if (@$packages > 1)
31 0 3 unless my $subdefs = $doc->find("PPI::Statement::Sub")
36 0 15 if $sub->forward or not $sub->name
37 10 5 if $self->{'_allow_duplicates_for'}{$sub->name}
39 1 4 if (exists $seen{$sub->name})