blib/lib/Perl/Critic/Policy/BuiltinFunctions/ProhibitLvalueSubstr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
44 | 330 | 6 | if $elem->content ne "substr" |
45 | 1 | 5 | unless is_function_call($elem) |
49 | 3 | 6 | if ($sib->isa("PPI::Token::Operator")) |
52 | 2 | 1 | if $rslt < 0 |
53 | 1 | 0 | if $rslt == 0 |