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
55 54 0 0 $ns and reftype $ns eq 'ARRAY'
241 278 413 0 defined $$name[0] and $$name[0] =~ /(:.*)/
497 0 0 54 reftype($$self{'GRAMMAR'}{'TAIL'}) eq 'ARRAY' and $$self{'GRAMMAR'}{'TAIL'}[0]
542 502 780 150 exists $$nterm{$sym} and not exists $$ufnterm{$sym}
694 0 0 691 vec $ufrules, $ruleno, 1 and exists $$grammar{'NTERM'}{$$rules[$ruleno][0]}

or 2 conditions

line l !l condition
60 0 54 $ns ||= \&give_default_name
117 0 0 $$self{'GRAMMAR'}{'TOKENNAMES'} || {}
121 0 0 $$names{$_} || ''
160 0 0 $$self{'GRAMMAR'}{'TOKENNAMES'} || {}
167 0 0 $$names{$_} || ''

or 3 conditions

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