Condition Coverage

blib/lib/Perl/Critic/Policy/Subroutines/ProhibitAmpersandSigils.pm
Criterion Covered Total %
condition 20 24 83.3


and 3 conditions

line !l l&&!r l&&r condition
40 139 1 6 $previous->isa("PPI::Token::Cast") and $previous eq "\\"
47 6 0 1 $previous->isa("PPI::Token::Operator") and $IS_COMMA{$previous->content}
53 0 11 8 $up = $up->parent and $up->isa('PPI::Statement::Expression') || $up->isa('PPI::Structure::List') || $up->isa('PPI::Statement')
65 5 3 3 $up->isa("PPI::Structure::List") and $word->isa("PPI::Token::Cast")
8 0 3 $up->isa("PPI::Structure::List") and $word->isa("PPI::Token::Cast") and $word->content eq "\\"
79 7 0 8 $previous and $EXEMPTIONS{$previous}

or 3 conditions

line l !l&&r !l&&!r condition
47 11 5 2 not $previous or $previous->isa("PPI::Token::Operator") and $IS_COMMA{$previous->content}
53 12 6 1 $up->isa('PPI::Statement::Expression') || $up->isa('PPI::Structure::List') || $up->isa('PPI::Statement')