Condition Coverage

blib/lib/Tree/XPathEngine/Step.pm
Criterion Covered Total %
condition 7 12 58.3


and 3 conditions

line !l l&&!r l&&r condition
283 0 0 288 $node->xpath_is_element_node and defined $node->xpath_get_name
307 0 1221 672 $test == 2 and $node->xpath_get_name eq $$self{'literal'}

or 3 conditions

line l !l&&r !l&&!r condition
307 150 0 1893 $test == 3 or $test == 5
150 0 1893 $test == 3 or $test == 5 or $test == 2 and $node->xpath_get_name eq $$self{'literal'}