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 53 6 $elem->parent and $elem->parent->isa('PPI::Statement::Expression')
71 52 0 1 not $elem->snext_sibling and $elem->next_token
126 4 10 7 $topical->snext_sibling and $topical->snext_sibling->isa('PPI::Structure::List')
162 58 9 16 $arg->isa('PPI::Token::Symbol') and $arg =~ /^%/msx
54 0 13 $arg->isa('PPI::Token::Cast') and $arg eq '%'
170 16 4 9 $arg->isa('PPI::Token::Cast') and $next_op->isa('PPI::Structure::Block')
176 13 13 3 $next_op and $next_op->isa('PPI::Token::Operator')

or 3 conditions

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