Condition Coverage

blib/lib/App/PerlNitpick/Rule/RewriteWithAssignmentOperators.pm
Criterion Covered Total %
condition 12 30 40.0


and 3 conditions

line !l l&&!r l&&r condition
20 0 0 4 $c0->isa("PPI::Token::Symbol") and $c0->raw_type eq "\$"
0 0 4 $c0->isa("PPI::Token::Symbol") and $c0->raw_type eq "\$" and $c2->isa("PPI::Token::Symbol")
0 0 4 $c0->isa("PPI::Token::Symbol") and $c0->raw_type eq "\$" and $c2->isa("PPI::Token::Symbol") and $c2->raw_type eq "\$"
0 0 4 $c0->isa("PPI::Token::Symbol") and $c0->raw_type eq "\$" and $c2->isa("PPI::Token::Symbol") and $c2->raw_type eq "\$" and $c1->content
0 0 4 $c0->isa("PPI::Token::Symbol") and $c0->raw_type eq "\$" and $c2->isa("PPI::Token::Symbol") and $c2->raw_type eq "\$" and $c1->content and $c2->content
0 0 6 $c1->isa("PPI::Token::Operator") and $c1->content eq "="
0 0 6 $c5->isa("PPI::Token::Structure") and $c5->content eq ";"
0 0 6 $c1->isa("PPI::Token::Operator") and $c1->content eq "=" and ($c5->isa("PPI::Token::Structure") and $c5->content eq ";")
0 2 4 $c3->isa("PPI::Token::Operator") and not $c3->content =~ /\A( -> | > | < | \.)\z/x
0 2 4 $c1->isa("PPI::Token::Operator") and $c1->content eq "=" and ($c5->isa("PPI::Token::Structure") and $c5->content eq ";") and ($c3->isa("PPI::Token::Operator") and not $c3->content =~ /\A( -> | > | < | \.)\z/x)