line |
true |
false |
branch |
84
|
42 |
5 |
if (defined $wanted_id) |
89
|
47 |
0 |
if defined $html |
92
|
5 |
42 |
unless (defined $wanted_id) |
94
|
1 |
4 |
if (my $n = scalar @{$p->{'stack'};}) |
112
|
68 |
556 |
if ($HTML::Tagset::emptyElement{$tagname}) |
113
|
48 |
20 |
if ($tagname eq "br" or $tagname eq "hr") |
117
|
14 |
54 |
if ($id) |
118
|
12 |
2 |
if (defined $parser->{'wanted_id'}) { } |
119
|
4 |
8 |
if ($id eq $parser->{'wanted_id'}) |
134
|
365 |
191 |
if ($tagname eq "br" or not $HTML::Tagset::isPhraseMarkup{$tagname}) |
139
|
0 |
152 |
if (defined $id and exists $parser->{'ids'}{$id}) |
152
|
36 |
98 |
if ($HTML::Tagset::optionalEndTag{$tagname} and @{$stack;} and $stack->[-1][0] eq $tagname) |
169
|
22 |
436 |
if $HTML::Tagset::emptyElement{$tagname} |
174
|
436 |
0 |
if (@{$stack;}) |
189
|
14 |
422 |
if ($this_tag_closes_previous_one) |
194
|
0 |
436 |
unless (@{$stack;}) |
198
|
4 |
432 |
if ($tagname ne $stack->[-1][0]) |
206
|
241 |
191 |
if ($tagname eq "br" or not $HTML::Tagset::isPhraseMarkup{$tagname}) |
219
|
1356 |
5125 |
if ($item->[1]) |
233
|
137 |
345 |
if (defined $id) |
236
|
109 |
28 |
if (defined $parser->{'wanted_id'}) { } |
238
|
34 |
75 |
if ($id eq $parser->{'wanted_id'}) { } |
250
|
62 |
75 |
if ($keepit) |
263
|
5 |
0 |
if $WARNINGS |