Branch Coverage

blib/lib/Perl/ToPerl6/Transformer/Variables/ReplaceNegativeIndex.pm
Criterion Covered Total %
branch 3 8 37.5


line true false branch
39 4 57 if $_[1]->isa('PPI::Token::Symbol') and $_[1]->snext_sibling
53 5 0 unless $head->isa('PPI::Structure::Subscript') and $head->start eq '['
55 0 0 if ($head->schild(0)->isa('PPI::Statement::Expression'))
56 0 0 if ($head->schild(0)->schild(0)->isa('PPI::Token::Number') and $head->schild(0)->schild(0)->content =~ /^ [-] /x)