blib/lib/Perl/Critic/Policy/Variables/ProhibitEvilVariables.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 16 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
283 | 0 | 20 | 19 | $next and $next->isa("PPI::Structure::Subscript") |
line | l | !l | condition |
---|---|---|---|
206 | 7 | 7 | $self->{'_evil_variables_regexes'} ||= [] |
211 | 8 | 8 | $self->{'_evil_variables'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 10 | 0 | 21 | $arguments{'description'} || $Perl::Critic::Policy::Variables::ProhibitEvilVariables::EMPTY |
228 | 8 | 0 | 80 | exists $self->{'_evil_variables'} || exists $self->{'_evil_variables_regexes'} |
299 | 13 | 24 | 0 | $description || qq[Prohibited variable "$variable" used] |