| blib/lib/App/PerlNitpick/Rule/RewriteWithAssignmentOperators.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 6 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 4 | 2 | if $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) |
| 28 | 0 | 6 | unless $document->find("PPI::Statement") |
| 30 | 2 | 4 | unless @found |