| blib/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitComplexVersion.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 12 | 83.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 87 | 1 | 1 | 7 | $module eq $VERSION_MODULE and not $self->{'_forbid_use_version'} |
| 108 | 0 | 194 | 3 | $parent = $statement->parent and $parent->isa("PPI::Structure::List") |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 64 | 0 | 3 | 194 | not $operator = get_next_element_in_same_simple_statement($elem) or $Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion::EQUAL ne $operator |
| 148 | 69 | 3 | 2810 | $_[1]->isa('PPI::Token::Quote::Double') || $_[1]->isa('PPI::Token::Quote::Interpolate') |