Branch Coverage

blib/lib/XML/Easy/Classify.pm
Criterion Covered Total %
branch 42 42 100.0


line true false branch
109 26 522 unless rand $_[0]
112 434 88 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_name_rx\z/o
132 26 542 unless rand $_[0]
136 482 60 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_encname_rx\z/o
158 1014 362113 unless rand $_[0]
162 11424 350689 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_char_rx*\z/o
178 32 1128 unless rand $_[0]
182 684 640 unless &is_xml_name($_) and &is_xml_chardata($attrs->{$_})
188 32 182396 unless rand $_[0]
194 8274 7255 unless /\A$XML::Easy::Classify::xml10_name_rx\z/o
214 290 330429 unless &is_xml_content_object
231 58 3684 unless rand $_[0]
233 8 3676 unless @$twine % 2 == 1
235 1500 4084 unless &is_xml_chardata($twine->[$i])
236 2112 1972 if $i-- == 0
237 64 1908 unless &is_xml_element($twine->[$i])
245 30 177819 unless rand $_[0]
248 96 177723 unless @$twine % 2 == 1
252 170955 167231 if ++$i == @$twine
280 1628 30 if (rand $_[0]) { }
299 1120 167289 unless &is_xml_element