blib/lib/Perl/Critic/Policy/Variables/ProhibitLocalVars.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 8 | 12.5 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 85 | if ($elem->type eq "local" and not _all_global_vars($elem)) |
42 | 0 | 0 | if $variable_name =~ /$PACKAGE_RX/ |
44 | 0 | 0 | if $variable_name eq "\$TODO" |
45 | 0 | 0 | unless is_perl_global($variable_name) |