Condition Coverage

lib/XML/DOM/Lite/XSLT.pm
Criterion Covered Total %
condition 22 68 32.3


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 4 $c->nodeType == 1 and $c->nodeName eq 'xsl:template'
0 0 4 $c->nodeType == 1 and $c->nodeName eq 'xsl:template' and ($c->getAttribute('mode') || '') eq ($mode || '')
94 0 0 0 $c->nodeType == 1 and $c->nodeName eq 'xsl:template'
0 0 0 $c->nodeType == 1 and $c->nodeName eq 'xsl:template' and $c->getAttribute('name') eq $name
200 0 1 3 $match and xpathMatch($match, $input)
238 0 0 0 $c->nodeType == 1 and $c->nodeName eq 'xsl:with-param'
249 0 0 0 $c->nodeType == 1 and $c->nodeName eq 'xsl:sort'
366 0 0 0 $element and $element->nodeType == 1
455 0 2 2 $$expr{'steps'} and not $$expr{'absolute'}
2 2 0 $$expr{'steps'} and not $$expr{'absolute'} and @{$$expr{'steps'};} == 1
4 0 0 $$expr{'steps'} and not $$expr{'absolute'} and @{$$expr{'steps'};} == 1 and $$expr{'steps'}[0]{'axis'} eq 'child'
2 0 0 $$expr{'steps'} and not $$expr{'absolute'} and @{$$expr{'steps'};} == 1 and $$expr{'steps'}[0]{'axis'} eq 'child' and @{$$expr{'steps'}[0]{'predicate'};} == 0
465 3 1 6 not $ret and $node
501 0 0 1 $a and $a->nodeName
0 0 1 $a and $a->nodeName and $a->nodeValue

or 2 conditions

line l !l condition
64 0 4 $c->getAttribute('mode') || ''
0 4 $mode || ''
252 0 0 xmlGetAttribute($c, 'data-type') || 'text'
253 0 0 xmlGetAttribute($c, 'order') || 'ascending'

or 3 conditions

line l !l&&r !l&&!r condition
41 2 0 8 @nodename == 1 or $nodename[0] ne 'xsl'
45 1 0 5 $nodename[1] eq 'stylesheet' or $nodename[1] eq 'transform'
281 0 0 0 $override or not $input->getVariable($name)
418 0 0 0 $src->nodeType == 11 or $src->nodeType == 9
494 0 1 0 $node->nodeType == 9 or $node->nodeType == 11