Condition Coverage

blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RequireConstantOnLeftSideOfEquality.pm
Criterion Covered Total %
condition 8 10 80.0


and 3 conditions

line !l l&&!r l&&r condition
46 6 3 6 not _is_constant_like($left_sib) and _is_constant_like($right_sib)

or 2 conditions

line l !l condition
43 15 0 $elem->snext_sibling || (return)
44 15 0 $elem->sprevious_sibling || (return)

or 3 conditions

line l !l&&r !l&&!r condition
41 9 6 3 '==' eq $elem or 'eq' eq $elem