blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RequireConstantOnLeftSideOfEquality.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 8 | 100.0 |
line | true | false | branch |
---|---|---|---|
41 | 3 | 15 | unless '==' eq $elem or 'eq' eq $elem |
46 | 6 | 9 | if (not _is_constant_like($left_sib) and _is_constant_like($right_sib)) |
57 | 6 | 18 | if $elem->isa('PPI::Token::Number') |
58 | 6 | 12 | if $elem->isa('PPI::Token::Quote') |