Condition Coverage

blib/lib/Perl/Critic/Policy/ErrorHandling/RequireCarping.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
63 0 0 0 $self->{'_allow_in_main_unless_in_subroutine'} and not $self->_is_element_contained_in_subroutine($elem)
0 0 0 $self->{'_allow_in_main_unless_in_subroutine'} and not $self->_is_element_contained_in_subroutine($elem) and $self->_is_element_in_namespace_main($elem)
82 0 0 0 $last_flattened_argument->isa('PPI::Token::Quote::Double') || $last_flattened_argument->isa('PPI::Token::Quote::Interpolate') and $last_flattened_argument_string =~ / [\\] n \z /msx
186 0 0 0 $current_candidate and not _is_simple_list_element_token($current_candidate)
0 0 0 $current_candidate and not _is_simple_list_element_token($current_candidate) and not _is_complex_expression_token($current_candidate)
213 0 0 0 $penultimate_element ne $Perl::Critic::Policy::ErrorHandling::RequireCarping::COMMA and $penultimate_element ne $Perl::Critic::Policy::ErrorHandling::RequireCarping::PERIOD
236 0 0 0 $next_sibling = $next_sibling->snext_sibling and not _is_postfix_operator($next_sibling)
294 0 0 0 $element->isa('PPI::Token::Word') && $postfix_operators->{$element}
355 0 0 0 $prior_elem->isa("PPI::Token::Word") and "sub" eq $prior_elem->content

or 3 conditions

line l !l&&r !l&&!r condition
82 0 0 0 $last_flattened_argument->isa('PPI::Token::Quote::Double') || $last_flattened_argument->isa('PPI::Token::Quote::Interpolate')
0 0 0 $last_flattened_argument_string =~ / \n \z /msx or $last_flattened_argument->isa('PPI::Token::Quote::Double') || $last_flattened_argument->isa('PPI::Token::Quote::Interpolate') and $last_flattened_argument_string =~ / [\\] n \z /msx