Branch Coverage

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


line true false branch
13 2 2 if (@$packages > 1)
17 0 2 unless my $subdefs = $doc->find("PPI::Statement::Sub")
22 0 5 if $sub->forward or not $sub->name
24 1 4 if (exists $seen{$sub->name})