line |
true |
false |
branch |
50
|
0 |
0 |
if ($test == 8) { } |
|
0 |
0 |
elsif ($test == 6) { } |
|
0 |
0 |
elsif ($test == 7) { } |
|
0 |
0 |
elsif ($test == 9) { } |
|
0 |
0 |
elsif ($test == 1 or $test == 4) { } |
52
|
0 |
0 |
if ($$self{'literal'}->value) |
74
|
0 |
0 |
unless defined $_ |
88
|
0 |
0 |
if ($test == 8) { } |
|
0 |
0 |
elsif ($test == 6) { } |
|
0 |
0 |
elsif ($test == 7) { } |
|
0 |
0 |
elsif ($test == 9) { } |
|
0 |
0 |
elsif ($test == 1 or $test == 4) { } |
90
|
0 |
0 |
if ($$self{'literal'}->value) { } |
118
|
0 |
0 |
unless defined $_ |
131
|
3 |
272 |
if ($from and not $from->isa('XML::XPathEngine::NodeSet')) |
181
|
3 |
615 |
if ($@) |
200
|
0 |
0 |
unless $parent |
202
|
0 |
0 |
if (node_test($self, $parent)) |
213
|
0 |
0 |
unless $context |
215
|
0 |
0 |
if (node_test($self, $context)) |
227
|
178 |
229 |
if ($self->test_attribute($attrib)) |
238
|
122 |
203 |
if (node_test($self, $node)) |
252
|
56 |
146 |
if (node_test($self, $node)) |
267
|
345 |
0 |
if (node_test($self, $node)) |
281
|
9 |
21 |
if (node_test($self, $elt)) |
292
|
5 |
10 |
unless $elt and $elt->can('getNextSibling') |
304
|
0 |
0 |
if (node_test($self, $context)) |
314
|
0 |
0 |
unless $context->isElementNode |
316
|
0 |
0 |
if ($self->test_namespace($ns)) |
327
|
0 |
38 |
unless $parent |
328
|
38 |
0 |
if (node_test($self, $parent)) |
339
|
6 |
12 |
if (node_test($self, $elt)) |
350
|
3 |
3 |
unless $elt->getParentNode |
361
|
0 |
0 |
if (node_test($self, $context)) |
371
|
32 |
0 |
if (node_test($self, $context)) |
384
|
377 |
613 |
if $test == 9 |
386
|
112 |
501 |
if ($test == 2) |
387
|
112 |
0 |
if $node->isElementNode and defined $node->getName |
392
|
0 |
501 |
if ($test == 1) { } |
|
501 |
0 |
elsif ($test == 0) { } |
|
0 |
0 |
elsif ($test == 7) { } |
|
0 |
0 |
elsif ($test == 6) { } |
|
0 |
0 |
elsif ($test == 8 and not $$self{'literal'}) { } |
|
0 |
0 |
elsif ($test == 8) { } |
393
|
0 |
0 |
unless $node->isElementNode |
397
|
0 |
501 |
unless $node->isElementNode |
398
|
0 |
501 |
if ($$self{'literal'} =~ /:/ or $$self{'pp'}{'strict_namespaces'}) { } |
400
|
0 |
0 |
if $name eq $node->getLocalName and _match_ns($self, $node) |
403
|
119 |
382 |
if $node->getName eq $$self{'literal'} |
407
|
0 |
0 |
if $node->isTextNode |
410
|
0 |
0 |
if $node->isCommentNode |
413
|
0 |
0 |
if $node->isPINode |
416
|
0 |
0 |
unless $node->isPINode |
417
|
0 |
0 |
if (my $val = $$self{'literal'}->value) { } |
418
|
0 |
0 |
if $node->getTarget eq $val |
430
|
0 |
0 |
$name =~ /:/ ? : |
434
|
0 |
0 |
if ($name =~ /^(.*?):/) { } |
442
|
0 |
0 |
if ($$pp{'uses_namespaces'} or $$pp{'strict_namespaces'}) { } |
444
|
0 |
0 |
if ($match_ns or $$pp{'strict_namespaces'}) { } |
468
|
76 |
331 |
if $test == 5 or $test == 9 |
470
|
0 |
331 |
if ($test == 4) { } |
|
331 |
0 |
elsif ($test == 3) { } |
471
|
0 |
0 |
if _match_ns($self, $node) |
474
|
0 |
331 |
if ($$self{'literal'} =~ /:/) { } |
477
|
0 |
0 |
if $name eq $node->getLocalName and _match_ns($self, $node) |
480
|
102 |
229 |
if $node->getName eq $$self{'literal'} |
496
|
0 |
0 |
if $test == 2 |
498
|
0 |
0 |
if ($test == 2) { } |
|
0 |
0 |
elsif ($$self{'literal'} eq $node->getExpanded) { } |
519
|
0 |
335 |
unless (ref $nodeset) |
532
|
110 |
33 |
if ($result->isa('XML::XPathEngine::Boolean')) { } |
|
17 |
16 |
elsif ($result->isa('XML::XPathEngine::Number')) { } |
533
|
41 |
69 |
if ($result->value) |
538
|
14 |
3 |
if ($result->value == $i) |
543
|
10 |
6 |
if ($result->to_boolean->value) |