Branch Coverage

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


line true false branch
109 26 542 unless rand $_[0]
112 454 88 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_name_rx\z/o
132 26 562 unless rand $_[0]
136 502 60 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_encname_rx\z/o
158 1014 364155 unless rand $_[0]
162 13056 351099 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_char_rx*\z/o
178 32 1180 unless rand $_[0]
182 736 640 unless &is_xml_name($_) and &is_xml_chardata($attrs->{$_})
188 32 183606 unless rand $_[0]
194 8610 7815 unless /\A$XML::Easy::Classify::xml10_name_rx\z/o
214 290 330557 unless &is_xml_content_object
231 58 3876 unless rand $_[0]
233 8 3868 unless @$twine % 2 == 1
235 1692 4148 unless &is_xml_chardata($twine->[$i])
236 2112 2036 if $i-- == 0
237 64 1972 unless &is_xml_element($twine->[$i])
245 30 178597 unless rand $_[0]
248 96 178501 unless @$twine % 2 == 1
252 170965 167231 if ++$i == @$twine
280 1692 30 if (rand $_[0]) { }
299 1120 167309 unless &is_xml_element