Condition Coverage

blib/lib/Parse/Eyapp/Lalr.pm
Criterion Covered Total %
condition 37 45 82.2


and 3 conditions

line !l l&&!r l&&r condition
102 3 0 1 $nbsr != $sre and $nbsr > 0
106 4 0 0 $nbrr != $rre and $nbrr > 0
702 24 264 403 @$rhs > 0 and exists $grammar->{'NTERM'}{$rhs->[0]}
720 669 2109 487 $pos < @$rhs and exists $$closures{$rhs->[$pos]}
925 579 324 386 exists $state->{'ACTIONS'}{''} and @{$state->{'ACTIONS'}{''};} > 1 || keys %{$$state{'ACTIONS'};} > 1
1032 1 0 209 defined $lastterm and ref $grammar->{'TERM'}{$lastterm}
1053 0 16 1377 $act->[0] > 0 and ref $grammar->{'TERM'}{$term}
1066 437 337 10 $tprec == $rprec and $assoc eq 'RIGHT'
1146 1287 0 2 exists $actions->{'error'} and $actions->{'error'}[0] > 0

or 3 conditions

line l !l&&r !l&&!r condition
504 595 282 412 not exists $state->{'ACTIONS'}{''} or keys %{$$state{'ACTIONS'};} > 1
925 7 386 317 @{$state->{'ACTIONS'}{''};} > 1 || keys %{$$state{'ACTIONS'};} > 1
1066 592 27 757 $tprec > $rprec or $tprec == $rprec and $assoc eq 'RIGHT'
1074 437 337 0 $tprec < $rprec or $assoc eq 'LEFT'
1153 0 3094 2413 not defined $actions->{$term} or $actions->{$term} > 0
3094 317 2096 not defined $actions->{$term} or $actions->{$term} > 0 or $nodefault