| line |
true |
false |
branch |
|
8
|
0 |
131 |
unless @_ >= 1 |
|
9
|
130 |
1 |
if (@_ == 1 and ref $_[0]) { } |
|
24
|
2 |
29 |
if (@_ == 3) { } |
|
|
13 |
16 |
elsif (@_ == 2 and lc $key eq 'text') { } |
|
25
|
1 |
1 |
if (defined $value) { } |
|
69
|
5 |
37 |
if $_[0]{'node'}->can("toStringHTML") |
|
77
|
3 |
34 |
if $@ or $output eq "" |
|
87
|
2 |
2 |
if (@_ == 2) { } |
|
89
|
1 |
1 |
if (defined $_[1]) { } |
|
102
|
0 |
3 |
$klass eq 'HTML::Element' ? : |
|
108
|
0 |
2 |
unless $self->{'node'} |
|
110
|
1 |
1 |
scalar @nodes ? : |
|
116
|
0 |
2 |
unless $self->{'node'} |
|
121
|
2 |
0 |
wantarray ? : |
|
127
|
1 |
23 |
unless $self->{'node'} |
|
130
|
17 |
7 |
wantarray ? : |
|
139
|
0 |
1 |
unless $callback and ref $callback eq "CODE" |
|
145
|
1 |
0 |
wantarray ? : |
|
151
|
0 |
21 |
unless $self->{'node'} |
|
158
|
0 |
2 |
unless $self->{'node'} |
|
161
|
2 |
0 |
wantarray ? : |
|
178
|
0 |
3 |
if ($node->isa('XML::LibXML::Dtd')) { } |
|
|
3 |
0 |
elsif ($node->isa('XML::LibXML::Element')) { } |
|
225
|
0 |
3 |
unless $self->{'node'} |
|
228
|
3 |
0 |
wantarray ? : |
|
245
|
0 |
3 |
unless $parent |
|
247
|
3 |
4 |
ref $_ ? : |
|
249
|
1 |
2 |
if ($parent->isa('XML::LibXML::Document')) { } |
|
253
|
0 |
1 |
unless $node->isSameNode($parent->lastChild) |
|
258
|
0 |
3 |
if ($_->isa("XML::LibXML::Dtd")) |
|
280
|
1 |
1 |
$node->isa('XML::LibXML::Document') ? : |
|
281
|
2 |
2 |
ref $_ ? : |
|
284
|
1 |
1 |
if ($node->isa('XML::LibXML::Document')) { } |
|
288
|
1 |
0 |
$node->hasChildNodes ? : |
|
303
|
0 |
2 |
unless $self->{'node'}->hasChildNodes |
|
306
|
1 |
1 |
$node->isa('XML::LibXML::Document') ? : |
|
307
|
2 |
2 |
ref $_ ? : |
|
310
|
1 |
1 |
if ($node->isa('XML::LibXML::Document')) { } |
|
313
|
1 |
0 |
$node->hasChildNodes ? : |
|
336
|
0 |
1 |
unless $self->{'node'} |
|
338
|
1 |
0 |
$prev ? : |
|
344
|
0 |
1 |
unless $self->{'node'} |
|
346
|
1 |
0 |
$next ? : |
|
353
|
0 |
7 |
unless $self->{'node'} |
|
358
|
3 |
7 |
if (ref $args[0] eq 'CODE') { } |
|
|
6 |
1 |
elsif (@args >= 2 and $args[0] eq '_tag') { } |
|
|
1 |
0 |
elsif (@args >= 2) { } |
|
366
|
1 |
0 |
if (ref $stuff eq 'Regexp') { } |
|
384
|
21 |
3 |
unless &$filter($_) |
|
386
|
9 |
21 |
$ok ? : |
|
389
|
6 |
1 |
if (wantarray) { } |
|
407
|
1 |
0 |
if (defined $self->{'_content'}) { } |
|
419
|
1 |
0 |
if $_->isEqual($self->{'node'}) |
|
428
|
4 |
19 |
if (@_) { } |
|
431
|
1 |
3 |
unless (defined $_[0]) |
|
438
|
0 |
3 |
if ref $_[0]{'node'}->isSameNode($self->{'node'}) |
|
442
|
2 |
1 |
if ($_[0]{'node'}->isa('XML::LibXML::Document')) { } |
|
444
|
1 |
1 |
if ($parent->hasChildNodes) { } |
|
461
|
18 |
1 |
defined $parent && !$parent->isa('XML::LibXML::DocumentFragment') ? : |