Branch Coverage

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


line true false branch
45 16817 0 $_[0]{'token'} ? :
49 0 16817 unless defined $rv
77 15465 0 length $_[0] == 1 ? :
89 13783 4456 if ($t->{'line'} =~ /\G$search/cg)
98 2774 1682 if ($rv) { }
1682 0 elsif (defined $rv) { }
120 1685 0 $_[0] =~ /^(?:\>|\)|\}|\])$/ ? :
137 744 2110 unless ($t->{'line'} =~ /$search/cg)
141 588 156 if ($rv)
146 156 0 if (defined $rv)
160 326 1784 $1 =~ /$open_brace$/ ? :
581 1529 if $depth += $1 =~ /$open_brace$/ ? 1 : -1
185 0 721 unless $t->{'line'} =~ /\G(\s*(?:\#.*)?)/cg
191 460 261 unless ($t->{'line_cursor'} + length($1) == length $t->{'line'})
203 70 191 if ($rv) { }
191 0 elsif (defined $rv) { }