XML, the Perl Way

Condition Coverage

File: blib/lib/XML/Twig/XPath.pm
Coverage: 75.0%

line % coverage condition
76 50
A dec
0 0
1 1
$$t{'twig_xp'}->matches($node, $path, $t) || 0
33
A B dec
0 0 0
0 1 1
1 X 1
$node ||= $t
114 67
A B dec
0 0 0
0 1 1
1 X 1
shift() || $elt->ns_prefix
130 100
A dec
0 0
1 1
$a->cmp($$b{'elt'}) || -1
141 67
A B dec
0 0 0
0 1 1
1 X 1
$_[0]->_parent || $_[0]->twig
150 100
A dec
0 0
1 1
$elt->twig->{'twig_xp'}->matches($elt, $path, $elt->getParentNode) || 0
195 100
A B dec
0 0 0
0 1 1
1 X 1
$$a{'elt'}->cmp($$b{'elt'}) || $$a{'name'} cmp $$b{'name'}
200 100
A dec
0 0
1 1
$$a{'elt'}->cmp($b) || 1