Condition Coverage

blib/lib/Perl/ToPerl6/Transformer/Variables/FormatHashKeys.pm
Criterion Covered Total %
condition 2 18 11.1


and 3 conditions

line !l l&&!r l&&r condition
27 61 0 0 $_[1]->isa('PPI::Structure::Subscript') and $_[1]->start->content eq '{'
61 0 0 $_[1]->isa('PPI::Structure::Subscript') and $_[1]->start->content eq '{' and $_[1]->finish->content eq '}'
0 0 0 $_[1]->isa('PPI::Structure::Subscript') and $_[1]->start->content eq '{' and $_[1]->finish->content eq '}' and $_[1]->sprevious_sibling->isa('PPI::Token::Symbol') || $_[1]->sprevious_sibling->isa('PPI::Token::Operator')
42 0 0 0 $token and $token->isa('PPI::Structure::Subscript')
44 0 0 0 $token->start and $token->start->content eq '{'

or 3 conditions

line l !l&&r !l&&!r condition
27 0 0 0 $_[1]->sprevious_sibling->isa('PPI::Token::Symbol') || $_[1]->sprevious_sibling->isa('PPI::Token::Operator')