| line |
true |
false |
branch |
|
107
|
21 |
10678 |
if defined $runaway |
|
108
|
2964 |
7735 |
if defined $text |
|
111
|
3638 |
7061 |
if (defined $tag) { } |
|
|
18 |
7043 |
elsif (defined $doctype) { } |
|
|
14 |
7029 |
elsif (defined $comment) { } |
|
|
7 |
7022 |
elsif (defined $cdata) { } |
|
|
18 |
7004 |
elsif (defined $pi) { } |
|
114
|
1594 |
2044 |
if ($tag =~ m[^/\s*(\S+)]u) { } |
|
|
2044 |
0 |
elsif ($tag =~ m[^([^\s/]+)([\s\S]*)]u) { } |
|
115
|
93 |
1501 |
$xml ? : |
|
118
|
15 |
1579 |
if (not $xml and my $tags = $NO_MORE_CONTENT{$end}) |
|
125
|
112 |
1932 |
$xml ? : |
|
130
|
47 |
34173 |
$xml ? : |
|
133
|
64 |
34156 |
if $key eq "/" |
|
135
|
34128 |
28 |
defined $value ? : |
|
139
|
1 |
2043 |
if not $xml and $start eq "image" |
|
143
|
173 |
1871 |
if not $xml and $EMPTY{$start} or $xml || !$BLOCK{$start} and $closing |
|
146
|
1972 |
72 |
if $xml or not $RAW{$start} || $RCDATA{$start} |
|
147
|
1 |
71 |
unless $html =~ m[\G(.*?)\Q$start\E(?:\s+|\s*>)]cgisu |
|
148
|
33 |
38 |
$RCDATA{$start} ? : |
|
164
|
11 |
7 |
if not exists $self->{'xml'} and $pi =~ /xml/iu |
|
186
|
484 |
4724 |
if $next->[0] eq "root" |
|
189
|
3 |
4721 |
if $SCOPE{$next->[1]} and $next->[1] ne $end |
|
192
|
1894 |
2827 |
if $next->[1] eq $end |
|
195
|
6 |
2802 |
if not $xml and $PHRASING{$end} and not $PHRASING{$next->[1]} |
|
211
|
1395 |
1083 |
if ($type eq "tag") |
|
220
|
2 |
35 |
$xml ? : |
|
|
37 |
1613 |
unless defined $value |
|
225
|
453 |
25 |
$EMPTY{$tag} ? : |
|
|
5 |
478 |
$xml ? : |
|
|
483 |
912 |
unless $tree->[4] |
|
236
|
545 |
538 |
if $type eq "text" |
|
239
|
388 |
150 |
if $type eq "raw" |
|
242
|
136 |
14 |
if $type eq "root" |
|
245
|
4 |
10 |
if $type eq "doctype" |
|
248
|
4 |
6 |
if $type eq "comment" |
|
251
|
3 |
3 |
if $type eq "cdata" |
|
254
|
3 |
0 |
if $type eq "pi" |
|
264
|
1627 |
417 |
if (not $xml and $$current->[0] ne "root") |
|
265
|
469 |
1158 |
if (my $end = $END{$start}) { } |
|
|
595 |
563 |
elsif (my $close = $CLOSE{$start}) { } |
|
273
|
50 |
390 |
if $$allowed{$parent->[1]} |
|
289
|
384 |
125 |
ref $_[-1] eq 'CODE' ? : |
|
|
509 |
444 |
if @_ % 2 |
|
293
|
948 |
5 |
unless exists $attrs->{'data'} and ref $attrs->{'data'} eq "HASH" |