Branch Coverage

blib/lib/Parse/YALALR/Build.pm
Criterion Covered Total %
branch 0 214 0.0


line true false branch
59 0 0 unless UNIVERSAL::isa($data, 'Parse::YALALR::Read')
62 0 0 if ref $class
87 0 0 if ref $str
88 0 0 if defined $$self{'temp_tokmap'}{$str}
89 0 0 if $str =~ /^'/
132 0 0 if (exists $$data{'start_symbol'}) { }
182 0 0 if (ref $sym) { }
185 0 0 if scalar(ref $sym) =~ /^perl/
186 0 0 if (scalar(ref $sym) =~ /^perl/) { }
200 0 0 if ($j != $#$rhs) { }
217 0 0 if $epsilonrule_flag
237 0 0 if ($parser->is_nonterminal($rhs0))
284 0 0 if $assoc eq 'token'
303 0 0 if ($sym == $nil) { }
0 0 elsif (not defined $rule) { }
305 0 0 if (defined $hard and $hard ne '') { }
0 0 elsif (defined $lastterm) { }
317 0 0 if $parser->is_token($sym)
325 0 0 defined $val ? :
339 0 0 if (ref $first)
366 0 0 unless defined $A
369 0 0 if ($parser->is_nonterminal($A)) { }
378 0 0 if ($parser->is_nonterminal($next)) { }
429 0 0 if @$edges == 0
448 0 0 if (defined $cause)
450 0 0 if vec $cause_restla, $$parser{'nil'}, 1
455 0 0 if (exists $canon_items{$idx}) { }
461 0 0 if ($$self{'why'}) { }
497 0 0 if (defined $fetched)
509 0 0 if ($$self{'why'})
512 0 0 if $$fitem{'GRAMIDX'} == 35
513 0 0 if ($fetched != $source_state)
518 0 0 unless $propagating_cause{$$cause[0]{'GRAMIDX'}}
545 0 0 if (defined $source_state)
550 0 0 if ($$self{'why'})
553 0 0 if $$item{'GRAMIDX'} == 35
554 0 0 if $item == $$lawhy[1]
562 0 0 unless $propagating_cause{$$src_item{'GRAMIDX'}}
573 0 0 if ($$self{'why'})
600 0 0 if $$grammar[$item + 1] == $nil
604 0 0 if $parser->is_token($rhssym)
618 0 0 if $nullable{$lhs}
634 0 0 if $nullable{$nullcand}
642 0 0 if ($$grammar[$dot] != $nil) { }
651 0 0 unless ($nullable{$nulledsym})
661 0 0 if $$self{'why'}
691 0 0 unless defined $FIRST{$sym}
693 0 0 if ($$self{'why'})
694 0 0 if (defined $parent) { }
695 0 0 $tok == $parent ? :
722 0 0 if $parser->is_token($sym) or not $$nullable{$sym}
734 0 0 if defined $goesto{$tok}
737 0 0 if (ref $x) { }
742 0 0 unless ($visited{$sym})
745 0 0 if (defined $goesto{$sym})
756 0 0 if ($$self{'why'}) { }
840 0 0 unless (exists $chainreachable{$B})
850 0 0 unless (($newfs & ~$oldfs) =~ /^\0*$/s)
852 0 0 unless $pushed
932 0 0 if ($next == $nil)
945 0 0 if $$I2{'GRAMIDX'} == 35
946 0 0 unless $$I2{'GRAMIDX'} == $$I{'GRAMIDX'}
951 0 0 if $parser->is_token($next)
964 0 0 unless $self->nullable_vec($a2)
972 0 0 if ($x == $nil) { }
974 0 0 if $$eI{'GRAMIDX'} == 35
975 0 0 unless $$eI{'GRAMIDX'} == $$I{'GRAMIDX'}
984 0 0 if $$I2{'GRAMIDX'} == 35
985 0 0 unless $I2 == $I
988 0 0 if ($$self{'why'} and not defined $shifto_why{$x})
1001 0 0 unless $self->nullable_vec($f3)
1005 0 0 if ($x == $nil) { }
1007 0 0 if $$eI{'GRAMIDX'} == 35
1008 0 0 unless $$eI{'GRAMIDX'} == $$I{'GRAMIDX'}
1017 0 0 if $$I2{'GRAMIDX'} == 35
1018 0 0 unless $$I2{'GRAMIDX'} == $$I{'GRAMIDX'}
1022 0 0 if ($$self{'why'} and not defined $shifto_why{$x})
1033 0 0 if (exists $canonical{$$item{'GRAMIDX'}}) { }
1044 0 0 if $$self{'why'}
1048 0 0 if $new
1052 0 0 if $$self{'why'}
1053 0 0 if $$self{'why'}
1063 0 0 if $$self{'why'} and $I0 != $I1
1083 0 0 if ($newla ne $$_{'LA'})
1084 0 0 if ($$self{'why'})
1086 0 0 if vec $changela, $$parser{'end'}, 1 and $$_{'GRAMIDX'} == 27
1087 0 0 if ($$change{'GRAMIDX'} + 1 == $$_{'GRAMIDX'}) { }
1088 0 0 unless $$_{'GRAMIDX'} == $$change{'GRAMIDX'}
1091 0 0 unless $$_{'GRAMIDX'} == $$change{'GRAMIDX'}
1096 0 0 unless (exists $Q{$_})
1113 0 0 if ($parent)
1115 0 0 if ($$self{'why'} and $$rinfo[0] ne $la)
1132 0 0 if (defined $prec1 and defined $prec2 and $$prec1[0] != $$prec2[0]) { }
1134 0 0 if ($$prec1[0] < $$prec2[0]) { }
1164 0 0 if (defined $prec1 and defined $prec2)
1165 0 0 if ($$prec1[0] != $$prec2[0])
1167 0 0 if ($$prec1[0] < $$prec2[0]) { }
1177 0 0 if ($$prec1[1] eq 'left') { }
0 0 elsif ($$prec1[1] eq 'right') { }
0 0 elsif ($$prec1[1] eq 'nonassoc') { }
1193 0 0 if defined $prec1
1195 0 0 if defined $prec2
1203 0 0 if ($$old[0] eq 'reduce' and $$new[0] eq 'reduce') { }
0 0 elsif ($$old[0] eq 'shift' and $$new[0] eq 'reduce') { }
1240 0 0 if (defined $actions[$sym])
1241 0 0 if (ref $actions[$sym] eq 'reduce') { }
1242 0 0 if ($actions[$sym][0] != $rule)