Condition Coverage

blib/lib/XML/XPathScript.pm
Criterion Covered Total %
condition 17 31 54.8


and 3 conditions

line !l l&&!r l&&r condition
278 17 51 1 index($xml, "\n") == -1 and index($xml, '<') == -1
68 0 1 index($xml, "\n") == -1 and index($xml, '<') == -1 and index($xml, '>') == -1
51 0 1 index($xml, "\n") == -1 and index($xml, '<') == -1 and index($xml, '>') == -1 and -f $xml
359 75 117 14 -1 < index($tokens[0], '<%') and -1 < index($tokens[0], '-')
516 14 0 5 $includestack[0] && $includestack[0] =~ m[^\.?/]
693 1 0 0 $uri =~ /^\w\w+:/ and not $uri =~ /^axkit:/

or 2 conditions

line l !l condition
32 64 1 $self->{'interpolating'} || 0
343 0 94 $self->{'stylesheet_dependencies'}[0] || 'stylesheet'

or 3 conditions

line l !l&&r !l&&!r condition
114 0 63 0 $params{'interpolation_regex'} || qr/{(.*?)}/
196 0 0 0 $XML_parser eq 'XML::XPath' or $XML_parser eq 'auto'
208 0 0 0 $XML_parser eq 'XML::LibXML' or $XML_parser eq 'auto'