Condition Coverage

blib/lib/Parse/Yapp/Lalr.pm
Criterion Covered Total %
condition 38 42 90.4


and 3 conditions

line !l l&&!r l&&r condition
472 44 283 561 @$rhs > 0 and exists $grammar->{'NTERM'}{$rhs->[0]}
490 966 1719 1210 $pos < @$rhs and exists $$closures{$rhs->[$pos]}
682 570 774 374 exists $state->{'ACTIONS'}{''} and @{$state->{'ACTIONS'}{''};} > 1 || keys %{$$state{'ACTIONS'};} > 1
789 19 0 48 defined $lastterm and ref $grammar->{'TERM'}{$lastterm}
810 40 13 842 $act->[0] > 0 and ref $grammar->{'TERM'}{$term}
823 233 51 8 $tprec == $rprec and $assoc eq 'RIGHT'
899 1529 133 56 exists $actions->{'error'} and $actions->{'error'}[0] > 0

or 3 conditions

line l !l&&r !l&&!r condition
102 0 0 0 $nbsr != $self->{'GRAMMAR'}{'EXPECT'} or $nbrr
311 44 13 50 not exists $state->{'ACTIONS'}{''} or keys %{$$state{'ACTIONS'};} > 1
682 37 360 751 @{$state->{'ACTIONS'}{''};} > 1 || keys %{$$state{'ACTIONS'};} > 1
823 534 17 275 $tprec > $rprec or $tprec == $rprec and $assoc eq 'RIGHT'
831 233 50 1 $tprec < $rprec or $assoc eq 'LEFT'
907 1 11540 7891 not defined $actions->{$term} or $actions->{$term} > 0
11541 832 7059 not defined $actions->{$term} or $actions->{$term} > 0 or $nodefault