Branch Coverage

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


line true false branch
45 16730 0 $_[0]{'token'} ? :
49 0 16730 unless defined $rv
77 15368 0 length $_[0] == 1 ? :
89 13727 4310 if ($t->{'line'} =~ /\G$search/cg)
98 2669 1641 if ($rv) { }
1641 0 elsif (defined $rv) { }
120 1707 0 $_[0] =~ /^(?:\>|\)|\}|\])$/ ? :
137 799 2189 unless ($t->{'line'} =~ /$search/cg)
141 627 172 if ($rv)
146 172 0 if (defined $rv)
160 373 1816 $1 =~ /$open_brace$/ ? :
654 1535 if $depth += $1 =~ /$open_brace$/ ? 1 : -1
185 0 754 unless $t->{'line'} =~ /\G(\s*(?:\#.*)?)/cg
191 488 266 unless ($t->{'line_cursor'} + length($1) == length $t->{'line'})
203 72 194 if ($rv) { }
194 0 elsif (defined $rv) { }