Branch Coverage

blib/lib/Perl/Critic/Policy/Freenode/EmptyReturn.pm
Criterion Covered Total %
branch 8 8 100.0


line true false branch
29 3 208 if ($child->isa('PPI::Structure::Block'))
30 1 2 unless is_structural_block($child)
32 21 189 if $child->isa('PPI::Token::Word') and $child eq 'return'
37 8 3 if ($returns and &any(sub { not is_empty_return($_); } , @$returns))