blib/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitComplexVersion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 12 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
85 | 0 | 0 | 0 | $module eq $VERSION_MODULE and not $self->{'_forbid_use_version'} |
106 | 0 | 27 | 0 | $parent = $statement->parent and $parent->isa("PPI::Structure::List") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
62 | 0 | 0 | 27 | not $operator = get_next_element_in_same_simple_statement($elem) or $Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion::EQUAL ne $operator |
146 | 0 | 0 | 216 | $_[1]->isa('PPI::Token::Quote::Double') || $_[1]->isa('PPI::Token::Quote::Interpolate') |