Condition Coverage

blib/lib/XML/XPathScript.pm
Criterion Covered Total %
condition 4 31 12.9


and 3 conditions

line !l l&&!r l&&r condition
558 1 1 0 index($xml, "\n") == -1 and index($xml, '<') == -1
2 0 0 index($xml, "\n") == -1 and index($xml, '<') == -1 and index($xml, '>') == -1
1 0 0 index($xml, "\n") == -1 and index($xml, '<') == -1 and index($xml, '>') == -1 and -f $xml
713 0 0 0 -1 < index($tokens[0], '<%') and -1 < index($tokens[0], '-')
909 0 0 0 $includestack[0] && $includestack[0] =~ m[^\.?/]
1155 0 0 0 $uri =~ /^\w\w+:/ and not $uri =~ /^axkit:/

or 2 conditions

line l !l condition
143 0 0 $$self{'interpolating'} || 0
697 0 0 $$self{'stylesheet_dependencies'}[0] || 'stylesheet'

or 3 conditions

line l !l&&r !l&&!r condition
344 0 0 0 $params{'interpolation_regex'} || qr/{(.*?)}/
476 0 0 0 $XML::XPathScript::XML_parser eq 'XML::XPath' or $XML::XPathScript::XML_parser eq 'auto'
488 0 0 0 $XML::XPathScript::XML_parser eq 'XML::LibXML' or $XML::XPathScript::XML_parser eq 'auto'