Branch Coverage

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


line true false branch
22 8 9 unless $elem->content eq 'return'
23 0 9 if is_hash_key($elem)
28 2 16 if $sib->content eq 'if' or $sib->content eq 'unless'
30 11 5 unless $sib->isa('PPI::Token::Operator')
31 5 0 if ($PROHIBITED{$sib})