Branch Coverage

lib/Async/Template/Parser.pm
Criterion Covered Total %
branch 29 46 63.0


line true false branch
20 0 47 unless $self->{'_EVENT_LAST_TOKEN'}
68 0 37 if $self->{'TRACE_VARS'}
87 4668 4958 if (exists $state->{'ACTIONS'}) { }
95 69 2706 if (ref $token) { }
97 69 0 if (ref $token) { }
0 0 elsif ($token eq 'ITEXT') { }
98 0 69 if ($info->{'DEBUG'} and not $in_string) { }
129 0 0 if ($inperl) { }
144 30 2676 if $token eq '"'
151 37 4631 unless defined $token
156 1565 0 defined($lookup = $state->{'DEFAULT'}) ? :
3103 1565 defined($lookup = $state->{'ACTIONS'}{$token}) ? :
167 0 9626 unless defined $action
172 2743 6883 if ($action > 0)
184 37 6846 unless $action
189 2595 4288 unless $code
192 6547 336 $len ? :
198 0 6883 if ($@)
208 37 6846 if $status == 1
213 0 6846 if $status == 3
217 0 6846 if $status == 2
225 0 0 unless defined $value
231 0 0 if $value eq ';'