Condition Coverage

blib/lib/Perl/Critic/Policy/Subroutines/RequireArgUnpacking.pm
Criterion Covered Total %
condition 0 66 0.0


and 3 conditions

line !l l&&!r l&&r condition
111 0 0 0 _is_cast_of_array($magic) and _is_postfix_foreach($magic)
140 0 0 0 $next and $next->isa("PPI::Structure::Subscript")
145 0 0 0 $prev and $prev->isa("PPI::Token::Operator")
0 0 0 $prev and $prev->isa("PPI::Token::Operator") and is_assignment_operator($prev->content)
0 0 0 $prev and $prev->isa("PPI::Token::Operator") and is_assignment_operator($prev->content) and !$next || $next->isa('PPI::Token::Structure') && $Perl::Critic::Policy::Subroutines::RequireArgUnpacking::SCOLON eq $next->content
168 0 0 0 _legal_before_size_check($prev) and _legal_after_size_check($next)
243 0 0 0 $sibling->isa("PPI::Token::Word") and $sibling =~ / \A for (?:each)? \z /msx
256 0 0 0 $prev and $prev->content eq $AT
0 0 0 $prev and $prev->content eq $AT and $prev->isa("PPI::Token::Cast")
271 0 0 0 $DOLLAR_ARG eq $magic->content && $prev && $prev->isa('PPI::Token::Cast') && $DOLLAR eq $prev->content && $next && $next->isa('PPI::Structure::Subscript')
299 0 0 0 $self->{'_allow_closures'} and _is_dereference_operator($subroutine_name)
363 0 0 0 $prev->isa("PPI::Token::Word") and "sub" eq $prev->content
370 0 0 0 $prev->isa("PPI::Token::Operator") and ":" eq $prev->content
383 0 0 0 $prev->isa("PPI::Token::Label") and $prev->content =~ / \A sub \s* : \z /msx
388 0 0 0 $prev->isa("PPI::Token::Prototype") and not $prev = $prev->sprevious_sibling
392 0 0 0 $prev->isa("PPI::Token::Word") and "sub" eq $prev->content

or 3 conditions

line l !l&&r !l&&!r condition
145 0 0 0 !$next || $next->isa('PPI::Token::Structure') && $Perl::Critic::Policy::Subroutines::RequireArgUnpacking::SCOLON eq $next->content
166 0 0 0 $prev or $next
179 0 0 0 $prev or $next
370 0 0 0 $prev->isa("PPI::Token::Word") or $prev->isa("PPI::Structure::List")
0 0 0 $prev->isa("PPI::Token::Word") or $prev->isa("PPI::Structure::List") or $prev->isa("PPI::Token::Attribute")
0 0 0 $prev->isa("PPI::Token::Word") or $prev->isa("PPI::Structure::List") or $prev->isa("PPI::Token::Attribute") or $prev->isa("PPI::Token::Operator") and ":" eq $prev->content