line |
true |
false |
branch |
65
|
105 |
1125 |
unless $node->nodeType == 1
|
68
|
351 |
774 |
if ($self->has_xmlns or ($node->prefix || '') ne ($ctx->prefix || ''))
|
74
|
12 |
339 |
unless (defined $got_xmlns)
|
75
|
12 |
0 |
length $prefix ? :
|
80
|
77 |
95 |
if ($got_xmlns and $wanted_xmlns ne "*" and $got_xmlns ne $wanted_xmlns)
|
90
|
326 |
722 |
if ($wanted_nodeName ne "*" and $wanted_nodeName ne $node->localname)
|
95
|
86 |
636 |
if ($self->has_nodeName_attr)
|
98
|
63 |
659 |
if ($self->has_xmlns_attr)
|
101
|
371 |
351 |
if (wantarray) { }
|
119
|
0 |
371 |
unless (defined $ret_nodeName)
|
127
|
0 |
0 |
if ($wanted_prefix ne "")
|
129
|
0 |
0 |
if ($ctx->prefix_new($wanted_prefix))
|
139
|
338 |
33 |
unless length $ret_nodeName
|
140
|
189 |
182 |
if ($self->has_nodeClass) { }
|
144
|
189 |
0 |
$marshaller ? :
|
159
|
174 |
8 |
$self->has_contents ? :
|
163
|
2 |
180 |
if ($node->hasAttributes)
|
169
|
173 |
7 |
if ($self->has_contents) { }
|
180
|
0 |
173 |
if (@childNodes > 1)
|
189
|
66 |
107 |
if (not @childNodes) { }
|
205
|
1 |
6 |
if ($node->hasChildNodes)
|
236
|
0 |
11 |
if ($self->has_xmlns)
|
239
|
0 |
0 |
if ($prefix = $ctx->rxsi->{$xmlns}) { }
|
248
|
7 |
0 |
$self->has_contents ? :
|
|
4 |
7 |
$self->has_nodeClass ? :
|
284
|
0 |
103 |
if (ref $value and ref $value eq "ARRAY" and defined $slot)
|
288
|
4 |
167 |
if ($self->has_nodeName_attr) { }
|
297
|
0 |
206 |
if ($self->has_xmlns_attr) { }
|
305
|
4 |
220 |
if (ref $name)
|
308
|
0 |
224 |
if (ref $xmlns)
|
315
|
224 |
0 |
if (length $name) { }
|
319
|
41 |
183 |
$prefix ? :
|
321
|
15 |
209 |
if ($ctx->prefix_new($prefix))
|
322
|
15 |
0 |
$prefix ? :
|
330
|
104 |
120 |
if (my $class = $self->nodeClass) { }
|
|
115 |
10 |
elsif ($self->has_contents and defined $value) { }
|
332
|
1 |
103 |
if (not defined $value) { }
|
|
101 |
2 |
elsif (eval {
|
|
0 |
2 |
elsif (eval {
|
|
2 |
0 |
elsif (&blessed($value)) { }
|
339
|
0 |
0 |
if ($value->localname eq $nn->localname and ($value->namespaceURI || '') eq ($xmlns || '')) { }
|
354
|
0 |
0 |
if $att->isa("XML::LibXML::Namespace")
|
375
|
103 |
0 |
if ($m and &blessed($m)) { }
|
|
0 |
0 |
elsif ($m) { }
|
376
|
0 |
103 |
unless &blessed($value)
|