Branch Coverage

blib/lib/XML/Liberal/LibXML.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
16 25 0 unless ($XML_LibXML_new)
28 24 0 if ($XML_LibXML_new)
41 96 74 $XML_LibXML_new ? :
55 195 0 if (ref $exn eq "XML::LibXML::Error")
66 190 5 $errors[0] =~ s/^:(\d+):\s*// ? :
69 190 0 if (defined $line and defined $errors[1] and defined $errors[2])
74 180 10 if (my($spaces) = $errors[2] =~ /^(\s*)\^/)
77 180 0 if ($$xml_ref =~ /\G.*?\Q$context\E /x)