Branch Coverage

blib/lib/Perl/Critic/Policy/Variables/ProhibitConditionalDeclarations.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
29 8 118 if $elem->type eq "local"
31 20 98 if ($elem->find(\&Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations::_is_conditional))
43 1002 21 unless $conditionals{$elem}
44 0 21 unless $elem->isa("PPI::Token::Word")
45 0 21 if is_hash_key($elem)
46 1 20 if is_method_call($elem)