| line |
true |
false |
branch |
|
30
|
827 |
495 |
wantarray ? : |
|
48
|
0 |
52 |
if ($b->isa('HTML::TreeBuilder::XPath::Root')) |
|
51
|
0 |
52 |
if $a == $b |
|
52
|
0 |
52 |
if $a->is_inside($b) |
|
53
|
0 |
52 |
if $b->is_inside($a) |
|
60
|
0 |
52 |
unless ($a_pile[-1] == $b_pile[-1]) |
|
75
|
52 |
0 |
if (defined $$a_anc{'_rank'} and defined $$b_anc{'_rank'}) { } |
|
83
|
0 |
0 |
if $a_prev == $b_anc |
|
85
|
0 |
0 |
if $a_next == $b_anc |
|
87
|
0 |
0 |
if $b_prev == $a_next |
|
89
|
0 |
0 |
if $b_next == $a_prev |
|
142
|
6 |
12 |
unless $$elt{'_rank'} |
|
145
|
1102 |
0 |
ref $_[0] && !($_[0]{'_tag'} =~ /^~/) ? : |
|
146
|
0 |
77 |
ref $_[0] && $_[0]{'_tag'} eq '~comment' ? : |
|
147
|
0 |
0 |
ref $_[0] && $_[0]{'_tag'} eq '~pi' ? : |
|
148
|
5 |
0 |
ref $_[0] ? : |
|
152
|
0 |
2 |
if ($elt->isCommentNode) |
|
160
|
963 |
581 |
wantarray ? : |
|
166
|
80 |
0 |
if (@content) { } |
|
174
|
9 |
3 |
if (@content) { } |
|
190
|
0 |
324 |
wantarray ? : |
|
196
|
0 |
75 |
if ($elt->isCommentNode) |
|
205
|
42 |
3059 |
unless defined $elt_or_text |
|
206
|
1477 |
1582 |
unless (ref $elt_or_text) |
|
213
|
0 |
3059 |
if (ref $rank) |
|
226
|
0 |
0 |
if ($name eq '~literal') |
|
228
|
0 |
0 |
if ($name eq '~declaration') |
|
229
|
0 |
0 |
if ($name eq '~pi') |
|
230
|
0 |
0 |
if ($name eq '~comment') |
|
236
|
0 |
0 |
if ($HTML::Tagset::isCDATA_Parent{$lc_name}) { } |
|
238
|
0 |
0 |
if (ref $content eq 'ARRAY' or $content->isa('ARRAY')) { } |
|
246
|
0 |
0 |
if (ref $child) { } |
|
250
|
0 |
0 |
unless $HTML::Tagset::emptyElement{$lc_name} |
|
274
|
0 |
0 |
if ($name eq '~literal') |
|
275
|
0 |
0 |
if ($name eq '~declaration') |
|
278
|
0 |
0 |
if ($name eq '~pi') |
|
279
|
0 |
0 |
if ($name eq '~comment') |
|
283
|
0 |
0 |
unless ($phrase_name{$lc_name}) |
|
284
|
0 |
0 |
if ($$opt{'indent_level'}) |
|
290
|
0 |
0 |
if ($HTML::Tagset::isCDATA_Parent{$lc_name}) { } |
|
292
|
0 |
0 |
if (ref $content and ref $content eq 'ARRAY' || $content->isa('ARRAY')) |
|
300
|
0 |
0 |
if (ref $child) { } |
|
306
|
0 |
0 |
if ($extra_newline{$lc_name} and $content ne '') |
|
307
|
0 |
0 |
unless $HTML::Tagset::emptyElement{$lc_name} |
|
308
|
0 |
0 |
unless $$opt{'indent_level'} |
|
319
|
0 |
0 |
if not length $att_name or $att_name =~ /^_/ or $att_name eq '/' |
|
323
|
0 |
0 |
$HTML::Tagset::emptyElement{lc $name} ? : |
|
330
|
0 |
0 |
if ($name =~ /^\d/) |
|
350
|
0 |
0 |
if ($$opt{'indented'}) |
|
353
|
0 |
0 |
unless (defined $indent_level) |
|
354
|
0 |
0 |
if ($HTML::Tagset::isKnown{lc $name} and not $HTML::Tagset::isPhraseMarkup{lc $name} and $indent_level > 0) |
|
356
|
0 |
0 |
if ($extra_newline{lc $name}) |
|
360
|
0 |
0 |
if ($indent_level == 0) |
|
389
|
0 |
0 |
if ($$opt{'force_escape_cdata'} or $text =~ /[<&]/) |
|
406
|
0 |
38 |
wantarray ? : |
|
412
|
0 |
0 |
if ($$node{'_parent'} and $$node{'_parent'}{'_tag'} eq 'script') { } |
|
428
|
0 |
9 |
$rank ? : |
|
438
|
0 |
80 |
defined $next_sibling ? : |
|
478
|
0 |
0 |
unless $rank |
|
522
|
72 |
42 |
wantarray ? : |
|
533
|
0 |
0 |
$_[1]->isa(' HTML::TreeBuilder::XPath::Root') ? : |