Branch Coverage

blib/lib/Parse/YALALR/Dump.pl
Criterion Covered Total %
branch 1 124 0.8


line true false branch
7 0 6 if ref $_[0]
25 0 0 if @v == 0
28 0 0 if @v > 1
31 0 0 unless (ref $v)
32 0 0 unless defined $v
33 0 0 if $v eq ''
34 0 0 if ($v =~ /^\d+$/) { }
0 0 elsif ($v =~ m[[^-+./\w\s]]) { }
36 0 0 if defined($v2 = $self->dump_sym($v, $asXML))
37 0 0 if defined($v2 = $self->dump_item($v, $asXML))
44 0 0 if (defined $Parse::YALALR::Parser::dumpsub{ref $v})
48 0 0 if (UNIVERSAL::isa($v, 'ARRAY')) { }
0 0 elsif (UNIVERSAL::isa($v, 'HASH')) { }
49 0 0 if (ref $v ne 'ARRAY') { }
52 0 0 if (exists ${$r . '::';}{'FIELDS'}) { }
63 0 0 if $k =~ /^\d+$/
64 0 0 if $k =~ /\0/
67 0 0 if (ref $v ne 'HASH') { }
87 0 0 if ($null == $nil) { }
0 0 elsif ($$why_nullable{$null} eq 'is an action') { }
106 0 0 if (ref $action eq 'reduce') { }
126 0 0 if $asXML
130 0 0 if defined $prec
140 0 0 unless $has_rhs
141 0 0 unless $brief
158 0 0 if $asXML and not $asXML =~ /untagged/
160 0 0 $asXML ? :
164 0 0 if $rule == $item
165 0 0 if $$grammar[$rule] == $nil
170 0 0 if $asXML and not $asXML =~ /untagged/
180 0 0 if $asXML
181 0 0 $asXML ? :
183 0 0 unless ($format =~ /brief/)
185 0 0 if $asXML
187 0 0 if $asXML
190 0 0 if $asXML
196 0 0 if (ref $_[1] and ref $_[1] eq 'item') { }
211 0 0 if ($format and $format eq 'very' || $format eq 'brief')
212 0 0 if $format eq 'very'
220 0 0 $asXML ? :
222 0 0 if $t eq 'item'
223 0 0 if $t eq 'parent0'
226 0 0 if ($$cause[0] eq 'kernel') { }
230 0 0 $$cause[0] eq 'generated' ? :
253 0 0 $format && $format =~ /xml/ ? :
261 0 0 defined $$_{'parent0'} ? :
280 0 0 if $asXML
282 0 0 if $asXML
288 0 0 if (not ref $xitem) { }
297 0 0 if $_ eq 'item'
298 0 0 if $_ eq 'parent0'
301 0 0 if $asXML and $inkernel
304 0 0 if $asXML and $inkernel
309 0 0 if $rule
311 0 0 if (defined(my $prec = $$self{'rule_precedence'}[$rule]))
313 0 0 if $asXML
316 0 0 if $asXML
331 0 0 if (wantarray) { }
337 0 0 $asXML ? :
371 0 0 if $asXML
373 0 0 if $asXML
380 0 0 if $asXML