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
80 0 0 17 !defined($leading_operator_compatibility) || $leading_operator_compatibility->[$operator_type] and !defined($next_compatibility) || $next_compatibility->[$operator_type]
89 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 _have_stringy_x($leading_operator)
138 2 15 0 $previous_sibling and _is_file_operator($previous_sibling)
165 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
168 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
165 0 0 $element_1->content // 0

or 3 conditions

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