blib/lib/Perl/Critic/Policy/Lax/RequireConstantOnLeftSideOfEquality/ExceptEq.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
27 | 0 | 6 | unless '==' eq $elem |
32 | 3 | 3 | if (not _is_constant_like($left_sib) and _is_constant_like($right_sib)) |
36 | 3 | 0 | if ($left_sib ne '1') |
47 | 6 | 3 | if $elem->isa('PPI::Token::Number') |
48 | 0 | 3 | if $elem->isa('PPI::Token::Quote') |