Condition Coverage

blib/lib/PPIx/EditorTools/RenameVariable.pm
Criterion Covered Total %
condition 13 24 54.1


and 3 conditions

line !l l&&!r l&&r condition
80 4 4 0 $args{'to_camel_case'} || $args{'from_camel_case'} and defined $replacement
166 424 0 0 $type eq '@' and $node->isa('PPI::Token::ArrayIndex')

or 3 conditions

line l !l&&r !l&&!r condition
76 8 0 0 $args{'column'} || croak('column required')
77 8 0 0 $args{'line'} || croak('line required')
80 2 2 4 $args{'to_camel_case'} || $args{'from_camel_case'}
2 4 0 $args{'to_camel_case'} || $args{'from_camel_case'} || defined $replacement
102 0 0 16 $scope->isa('PPI::Document') or $scope->isa('PPI::Structure::Block')
132 0 2 6 $type eq '@' or $type eq '%'