Branch Coverage

blib/lib/XML/LibXML/XPathContext.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
33 13 46 if (wantarray) { }
46 56 0 if ($type)
67 17 113 if (ref $node)
76 17 113 if ref $node
78 12 118 if ($@)
128 12 11 if ($type eq 'XML::LibXML::Literal' or $type eq 'XML::LibXML::Number' or $type eq 'XML::LibXML::Boolean') { }
11 0 elsif ($type eq 'XML::LibXML::NodeList') { }
133 0 12 $XML::LibXML::XPathContext::USE_LIBXML_DATA_TYPES ? :
141 1 31 unless ref $func or $func =~ /(.+)::/