Condition Coverage

blib/lib/Parse/Eyapp/Grammar.pm
Criterion Covered Total %
condition 14 31 45.1


and 3 conditions

line !l l&&!r l&&r condition
59 54 0 0 $ns and &reftype($ns) eq 'ARRAY'
245 278 413 0 defined $name->[0] and $name->[0] =~ /(:.*)/
502 0 0 54 &reftype($self->{'GRAMMAR'}{'TAIL'}) eq 'ARRAY' and $self->{'GRAMMAR'}{'TAIL'}[0]
547 502 780 150 exists $nterm->{$sym} and not exists $ufnterm->{$sym}
698 0 0 691 vec $ufrules, $ruleno, 1 and exists $grammar->{'NTERM'}{$rules->[$ruleno][0]}

or 2 conditions

line l !l condition
64 0 54 $ns ||= \&Parse::Eyapp::Grammar::give_default_name
121 0 0 $self->{'GRAMMAR'}{'TOKENNAMES'} || {}
125 0 0 $names->{$_} || ''
164 0 0 $self->{'GRAMMAR'}{'TOKENNAMES'} || {}
171 0 0 $names->{$_} || ''

or 3 conditions

line l !l&&r !l&&!r condition
583 54 602 223 not exists $ufnterm->{$sym} or exists $reachable->{$sym}
675 480 36 0 exists $reachable->{$sym} or exists $values->{'PREC'}{$sym}