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
66 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 || '')
96 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
202 0 1 3 $match and xpathMatch($match, $input)
240 0 0 0 $c->nodeType == 1 and $c->nodeName eq 'xsl:with-param'
251 0 0 0 $c->nodeType == 1 and $c->nodeName eq 'xsl:sort'
368 0 0 0 $element and $element->nodeType == 1
457 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
467 3 1 6 not $ret and $node
503 0 0 1 $a and $a->nodeName
0 0 1 $a and $a->nodeName and $a->nodeValue

or 2 conditions

line l !l condition
66 0 4 $c->getAttribute('mode') || ''
0 4 $mode || ''
254 0 0 xmlGetAttribute($c, 'data-type') || 'text'
255 0 0 xmlGetAttribute($c, 'order') || 'ascending'

or 3 conditions

line l !l&&r !l&&!r condition
43 2 0 8 @nodename == 1 or $nodename[0] ne 'xsl'
47 1 0 5 $nodename[1] eq 'stylesheet' or $nodename[1] eq 'transform'
283 0 0 0 $override or not $input->getVariable($name)
420 0 0 0 $src->nodeType == 11 or $src->nodeType == 9
496 0 1 0 $node->nodeType == 9 or $node->nodeType == 11