Branch Coverage

blib/lib/XML/Handler/Trees.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
23 0 0 if (exists $$element{'LocalName'}) { }
0 0 elsif (ref $$element{'Attributes'} eq 'HASH') { }
27 0 0 if ($$attr{'NamespaceURI'}) { }
42 0 0 if (exists $$element{'LocalName'} and $$element{'NamespaceURI'}) { }
60 0 0 if ($pos > 0 and $$clist[$pos - 1] eq '0') { }
100 0 0 if ($$self{'Searchable'}) { }
106 0 0 if (exists $$element{'LocalName'}) { }
0 0 elsif (ref $$element{'Attributes'} eq 'HASH') { }
135 0 0 if (not @$clist or $$clist[-1]{'type'} ne 't')
155 0 0 if ($$self{'Searchable'})
163 0 0 if (ref $name)
164 0 0 if (defined $$name{'NamespaceURI'}) { }
176 0 0 if ($$self{'Latin'})
188 0 0 if ($$self{'Noempty'})
190 0 0 if (@$clist and $$clist[-1]{'type'} eq 't' and $$clist[-1]{'content'} =~ /^\s+$/)
237 0 0 unless exists $$self{'content'} and defined $$self{'content'}
241 0 0 unless "$possible" =~ /ARRAY/
246 0 0 unless exists $$possible{'type'} and $$possible{'type'} eq 't'
249 0 0 unless exists $$possible{'content'} and defined $$possible{'content'}
276 0 0 if ($spec) { }
284 0 0 if (wantarray) { }
287 0 0 unless $num
288 0 0 if $num == 1
308 0 0 if ($spec) { }
341 0 0 unless exists $$self{'attrib'} and defined $$self{'attrib'}
344 0 0 unless exists $$attrib{$spec} and defined $$attrib{$spec}
358 0 0 unless exists $$self{'attrib'} and defined $$self{'attrib'}
361 0 0 unless "$attrib" =~ /HASH/
384 0 0 unless ($name eq '__TOPLEVEL__')
391 0 0 if ($value)
401 0 0 unless ($name eq '__TOPLEVEL__')
425 0 0 unless ($name eq '__TOPLEVEL__')
432 0 0 if (defined $value) { }
445 0 0 unless ($name eq '__TOPLEVEL__')
481 0 0 if (exists $$element{'LocalName'}) { }
0 0 elsif (ref $$element{'Attributes'} eq 'HASH') { }
490 0 0 if (@{$$self{'_stack'};}) { }
516 0 0 unless $$self{'_store_comments'}
517 0 0 @{$$self{'_stack'};} ? :
525 0 0 unless $$self{'_store_pis'}
526 0 0 @{$$self{'_stack'};} ? :
541 0 0 if defined $val