| blib/lib/App/PerlNitpick/Rule/RewriteWithAssignmentOperators.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 6 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 7 | 1 | 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 is_rewritable($c3->content)) |
| 51 | 0 | 8 | unless $document->find("PPI::Statement") |
| 53 | 3 | 5 | unless @found |