Condition Coverage

blib/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitComplexVersion.pm
Criterion Covered Total %
condition 10 12 83.3


and 3 conditions

line !l l&&!r l&&r condition
88 1 1 7 $module eq $VERSION_MODULE and not $self->{'_forbid_use_version'}
109 0 194 3 $parent = $statement->parent and $parent->isa("PPI::Structure::List")

or 3 conditions

line l !l&&r !l&&!r condition
65 0 3 194 not $operator = get_next_element_in_same_simple_statement($elem) or $Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion::EQUAL ne $operator
149 69 3 2810 $_[1]->isa('PPI::Token::Quote::Double') || $_[1]->isa('PPI::Token::Quote::Interpolate')