Condition Coverage

blib/lib/Perl/Critic/Policy/Variables/ProhibitLoopOnHash.pm
Criterion Covered Total %
condition 21 24 87.5


and 3 conditions

line !l l&&!r l&&r condition
41 0 54 6 $elem->parent and $elem->parent->isa("PPI::Statement::Expression")
71 53 0 1 not $elem->snext_sibling and $elem->next_token
129 4 10 7 $topical->snext_sibling and $topical->snext_sibling->isa("PPI::Structure::List")
167 58 9 16 $arg->isa("PPI::Token::Symbol") and $arg =~ /^%/msx
54 0 13 $arg->isa("PPI::Token::Cast") and $arg eq "%"
175 16 4 9 $arg->isa("PPI::Token::Cast") and $next_op->isa("PPI::Structure::Block")
181 13 13 3 $next_op and $next_op->isa("PPI::Token::Operator")

or 3 conditions

line l !l&&r !l&&!r condition
167 16 59 8 $arg->isa("PPI::Token::Symbol") and $arg =~ /^%/msx or $arg->isa("PPI::Token::Cast") and $arg eq "%"