Branch Coverage

blib/lib/Module/Checkstyle/Check/Subroutine.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
48 2 6 if ($$self{$MAX_LENGTH})
51 2 0 if (defined $block)
55 1 1 if ($length > $$self{$MAX_LENGTH})
73 3 5 if ($$self{$MATCHES_NAME})
75 1 2 if ($name and not $name =~ /$$self{$MATCHES_NAME}/)
83 3 5 if ($$self{$NO_FQN})
85 2 1 if ($name and $name =~ / :: | \' /x)
99 0 4 if $symbol->symbol_type ne '&'
103 4 0 if ($$self{$NO_AMP_CALLS})
105 2 2 if ($next_sibling and ref $next_sibling and $next_sibling->isa('PPI::Structure::List'))