| blib/lib/PPIx/EditorTools/RenameVariable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 24 | 58.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 21 | 4 | 4 | 0 | $args{'to_camel_case'} || $args{'from_camel_case'} and defined $replacement |
| 106 | 424 | 0 | 0 | $type eq '@' and $node->isa('PPI::Token::ArrayIndex') |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 17 | 8 | 0 | 0 | $args{'column'} || croak('column required') |
| 18 | 8 | 0 | 0 | $args{'line'} || croak('line required') |
| 21 | 2 | 2 | 4 | $args{'to_camel_case'} || $args{'from_camel_case'} |
| 2 | 4 | 0 | $args{'to_camel_case'} || $args{'from_camel_case'} || defined $replacement | |
| 43 | 0 | 8 | 8 | $scope->isa('PPI::Document') or $scope->isa('PPI::Structure::Block') |
| 72 | 0 | 2 | 6 | $type eq '@' or $type eq '%' |