Condition Coverage

blib/lib/Perl/Critic/Policy/Variables/ProhibitEvilVariables.pm
Criterion Covered Total %
condition 12 16 75.0


and 3 conditions

line !l l&&!r l&&r condition
283 0 20 19 $next and $next->isa("PPI::Structure::Subscript")

or 2 conditions

line l !l condition
206 7 7 $self->{'_evil_variables_regexes'} ||= []
211 8 8 $self->{'_evil_variables'} ||= {}

or 3 conditions

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]