Condition Coverage

File:lib/XML/Parser/Lite/Tree/XPath/Token.pm
Coverage:77.1%

line%coveragecondition
19100
ABdec
0X0
100
111
defined $content and $$self{'content'} ne $content
5867
ABdec
000
011
1X1
$$self{'type'} eq 'OrExpr' or $$self{'type'} eq 'AndExpr'
100
ABdec
000
011
1X1
$$self{'type'} eq 'EqualityExpr' or $$self{'type'} eq 'RelationalExpr'
9860
ABCDdec
00000
00011
001X1
01XX1
1XXX1
$step->match('AxisSpecifier') or $step->match('NameTest') or $step->match('Predicate') or $step->match('NodeTypeTest')
124100
ABdec
0X0
100
111
$$tag{'type'} eq 'element' and $$tag{'name'} eq $$self{'content'}
128100
ABdec
0X0
100
111
$$tag{'type'} eq 'attribute' and $$tag{'name'} eq $$self{'content'}
20833
ABdec
000
011
1X1
not defined $handler or not defined $$handler[0]
397100
ABdec
000
011
1X1
$$a1{'value'} || $$a2{'value'}
3980
ABdec
0X0
100
111
$$a1{'value'} && $$a2{'value'}
61433
ABdec
000
011
1X1
$$self{'context'}{'type'} eq 'node' or $$self{'context'}{'type'} eq 'nodeset'
669100
ABdec
0X0
100
111
$$node{'type'} eq 'element' and length $$node{'uid'}
684100
ABdec
000
011
1X1
$$node{'type'} eq 'element' or $$node{'type'} eq 'root'
81167
ABdec
000
011
1X1
$$args[0]{'type'} eq 'node' or $$args[0]{'type'} eq 'nodeset'
917100
ABdec
000
011
1X1
$$node{'type'} eq 'element' or $$node{'type'} eq 'root'