Condition Coverage

blib/lib/Perl/Critic/Policy/Variables/ProhibitUselessInitialization.pm
Criterion Covered Total %
condition 18 27 66.6


and 3 conditions

line !l l&&!r l&&r condition
137 0 6 6 $c[1]->isa('PPI::Token::Symbol') and $c[1]->raw_type eq '$'
138 2 0 4 $c[2] and $c[2]->isa('PPI::Token::Operator')
2 0 4 $c[2] and $c[2]->isa('PPI::Token::Operator') and $c[2] eq '='
139 2 0 2 $c[3]->isa('PPI::Token::Word') and $c[3] eq 'undef'
156 0 4 6 $c[1]->isa('PPI::Token::Symbol') and $c[1]->raw_type =~ /^[\@%]$/
157 0 0 6 $c[2] and $c[2]->isa('PPI::Token::Operator')
0 0 6 $c[2] and $c[2]->isa('PPI::Token::Operator') and $c[2] eq '='
158 2 1 3 $c[3]->isa('PPI::Structure::List') and $c[3] eq '()'

or 3 conditions

line l !l&&r !l&&!r condition
114 2 3 7 violates_scalar($elem) or violates_list($elem)