Condition Coverage

blib/lib/Perl/Critic/Policy/ValuesAndExpressions/ProhibitMismatchedOperators.pm
Criterion Covered Total %
condition 5 38 13.1


and 3 conditions

line !l l&&!r l&&r condition
81 0 0 17 !defined($leading_operator_compatibility) || $leading_operator_compatibility->[$operator_type] and !defined($next_compatibility) || $next_compatibility->[$operator_type]
90 0 0 0 $operator_type and defined $leading_operator_compatibility
0 0 0 $operator_type and defined $leading_operator_compatibility and not $leading_operator_compatibility->[$operator_type]
0 0 0 $operator_type and defined $leading_operator_compatibility and not $leading_operator_compatibility->[$operator_type] and $self->_have_stringy_x($leading_operator)
139 2 15 0 $previous_sibling and $self->_is_file_operator($previous_sibling)
166 0 0 0 $elem_operator and $elem_operator eq $TOKEN_COMPATIBILITY_SPECIAL_STRING_OPERATOR
0 0 0 $elem_operator and $elem_operator eq $TOKEN_COMPATIBILITY_SPECIAL_STRING_OPERATOR and $SPECIAL_STRING_VALUES{lc($element_1->content // 0)}
0 0 0 $elem_operator and $elem_operator eq $TOKEN_COMPATIBILITY_SPECIAL_STRING_OPERATOR and $SPECIAL_STRING_VALUES{lc($element_1->content // 0)} and $element_2->isa("PPI::Token::Number")
0 0 0 $elem_operator and $elem_operator eq $TOKEN_COMPATIBILITY_SPECIAL_STRING_OPERATOR and $SPECIAL_STRING_VALUES{lc($element_1->content // 0)} and $element_2->isa("PPI::Token::Number") and $element_2->content == 0
169 0 0 0 not $check_recursive and $self->_is_special_string_number_addion($elem_operator, $element_2, $element_1, 1)

or 2 conditions

line l !l condition
166 0 0 $element_1->content // 0

or 3 conditions

line l !l&&r !l&&!r condition
81 0 17 0 !defined($leading_operator_compatibility) || $leading_operator_compatibility->[$operator_type]
0 17 0 !defined($next_compatibility) || $next_compatibility->[$operator_type]