Branch Coverage

blib/lib/ExtUtils/XSpp/Grammar.pm
Criterion Covered Total %
branch 35 74 47.3


line true false branch
70 0 86 if exists $self->{'VERSION'} and $self->{'VERSION'} < $ExtUtils::XSpp::Grammar::YappDriver::COMPATIBLE
75 0 86 if ref $class
87 0 86 if ($self->{'DEBUG'}) { }
90 0 0 if $@
102 86 9126 unless exists $self->{'USER'}
154 0 0 if $index < 0 and -$index <= @{$self->{'STACK'};}
163 0 0 if @_
171 0 0 if @_
200 0 516 unless exists $checklist->{$prm}
202 0 516 unless ref $value eq $checklist->{$prm}
208 0 258 unless exists $outhash->{$_}
222 0 0 if exists do { "ExtUtils::XSpp::Grammar::YappDriver::" }->{'_DBParse'}
226 0 0 unless open DRV, "<$fname"
229 0 0 if (/^\s*sub\s+_Parse\s*{\s*$/ .. /^\s*}\s*#\s*_Parse\s*$/)
285 4100 3728 if (exists $actions->{'ACTIONS'}) { }
288 2972 1128 unless (defined $$token)
298 1127 0 exists $actions->{'DEFAULT'} ? :
2973 1127 exists $actions->{'ACTIONS'}{$$token} ? :
307 7828 0 if (defined $act)
310 2972 4856 if ($act > 0)
316 0 2972 if ($$errstatus)
331 2886 86 if $$token ne ""
344 86 4770 unless $act
350 0 4856 if (unpack("A1", $lhs) eq "\@")
351 0 0 unless $lhs =~ /^\@[0-9]+\-([0-9]+)$/
358 4324 532 $$dotpos ? :
361 1897 79 @sempar ? :
2880 1976 $code ? :
367 86 4770 if ($$check eq "ACCEPT")
376 0 4770 if ($$check eq "ABORT")
389 4770 0 unless ($$check eq "ERROR")
417 0 0 unless ($$errstatus)
421 0 0 unless $$errstatus
435 0 0 if ($$errstatus == 3)
437 0 0 if ($$token eq "")
463 0 0 unless (@$stack)
498 0 86 if ref $class