| blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RestrictLongStrings.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 52 | 8 | 9 | if $length <= $$self{'_max_length'} |
| 56 | 3 | 6 | unless ($stmt->snext_sibling) |
| 58 | 2 | 1 | if ($stmt_parent->isa('PPI::Structure::Block')) |
| 61 | 1 | 1 | if $stmt_parent->parent->isa('PPI::Statement::Sub') |
| 65 | 1 | 0 | if $sib and $sib->isa('PPI::Token::Word') and 'sub' eq $sib |