Branch Coverage

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


line true false branch
109 26 532 unless rand $_[0]
111 444 88 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_name_rx\z/o
130 26 552 unless rand $_[0]
133 492 60 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_encname_rx\z/o
154 1014 363134 unless rand $_[0]
157 12240 350894 unless $_[0] =~ /\A$XML::Easy::Classify::xml10_char_rx*\z/o
173 32 1154 unless rand $_[0]
177 710 640 unless is_xml_name $_ and is_xml_chardata($$attrs{$_})
183 32 183001 unless rand $_[0]
187 8442 7535 unless /\A$XML::Easy::Classify::xml10_name_rx\z/o
207 290 330493 unless &is_xml_content_object
224 58 3780 unless rand $_[0]
226 8 3772 unless @$twine % 2 == 1
228 1596 4116 unless is_xml_chardata($$twine[$i])
229 2112 2004 if $i-- == 0
230 64 1940 unless is_xml_element($$twine[$i])
238 30 178208 unless rand $_[0]
241 96 178112 unless @$twine % 2 == 1
245 170960 167231 if ++$i == @$twine
273 1660 30 if (rand $_[0]) { }
292 1120 167299 unless &is_xml_element