Branch Coverage

blib/lib/PPI/Token/_QuoteEngine.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
45 16691 0 $_[0]{'token'} ? :
49 0 16691 unless defined $rv
77 15294 0 length $_[0] == 1 ? :
89 13603 4424 if ($t->{'line'} =~ /\G$search/cg)
98 2733 1691 if ($rv) { }
1691 0 elsif (defined $rv) { }
120 1689 0 $_[0] =~ /^(?:\>|\)|\}|\])$/ ? :
137 803 2179 unless ($t->{'line'} =~ /$search/cg)
141 636 167 if ($rv)
146 167 0 if (defined $rv)
160 369 1810 $1 =~ /$open_brace$/ ? :
657 1522 if $depth += $1 =~ /$open_brace$/ ? 1 : -1
185 0 720 unless $t->{'line'} =~ /\G(\s*(?:\#.*)?)/cg
191 466 254 unless ($t->{'line_cursor'} + length($1) == length $t->{'line'})
203 67 187 if ($rv) { }
187 0 elsif (defined $rv) { }