line |
true |
false |
branch |
48
|
0 |
8 |
exists $args{$_} ? : |
70
|
0 |
3 |
if ($ref eq 'CODE') { } |
|
2 |
1 |
elsif ($ref eq 'GLOB') { } |
|
1 |
0 |
elsif ($ref eq 'SCALAR') { } |
88
|
0 |
1 |
unless ($type eq 'html' or $type eq 'xhtml') |
102
|
0 |
5 |
unless ($type eq 'html' or $type eq 'xhtml') |
137
|
3 |
0 |
$$self{'header'} ? : |
156
|
0 |
24 |
if (exists $$attr{'/'}) { } |
|
0 |
24 |
elsif ($$self{'type'} eq 'html' and $tagname eq 'br' or $tagname eq 'hr' or $tagname eq 'img' or $tagname eq 'input' or $tagname eq 'link' or $tagname eq 'meta' or $tagname eq 'area' or $tagname eq 'col' or $tagname eq 'base' or $tagname eq 'param') { } |
172
|
0 |
21 |
if ($tagname eq 'p' or $tagname eq 'select' or $tagname eq 'li' or $tagname eq 'td' or $tagname eq 'th' or $tagname eq 'tr') |
179
|
0 |
3 |
if ($close eq $tagname) |
183
|
0 |
0 |
if ($close ne $$self{'last_block'}) |
186
|
0 |
0 |
if ($$self{'debug'}) |
197
|
0 |
24 |
if ($type eq 'B' and not $self->block_allowed) |
202
|
0 |
24 |
$error && $$self{'debug'} ? : |
206
|
0 |
24 |
if ($$self{'collapse_inline'}) |
207
|
0 |
0 |
if ($type ne 'I' or is_element($tagname) or is_row($tagname) or $self->in_head) |
214
|
0 |
24 |
if (not $$self{'header'} || $$self{'past_first_line'} and $$self{'stack'}[-2] eq 'body') |
221
|
0 |
24 |
if ($$self{'collapse_inline'}) |
222
|
0 |
0 |
if ($type eq 'I' and not is_script($tagname)) |
228
|
0 |
24 |
if (not $$self{'header'} and $tagname eq 'body') |
233
|
6 |
18 |
if $type eq 'B' |
242
|
0 |
24 |
if ($start ne $tagname) |
248
|
0 |
0 |
if ($type eq 'B') |
249
|
0 |
0 |
if ($$self{'stack'}[-1] eq $tagname) { } |
|
0 |
0 |
elsif ($$self{'last_block'} eq $tagname) { } |
258
|
0 |
0 |
if $$self{'debug'} |
264
|
0 |
24 |
if not $$self{'header'} and $tagname eq 'body' |
266
|
0 |
24 |
$error && $$self{'debug'} ? : |
270
|
0 |
24 |
if ($$self{'no_indent'}) |
271
|
0 |
0 |
if ($type ne 'I' or is_row($tagname)) |
279
|
6 |
18 |
if $type eq 'B' |
289
|
21 |
27 |
if ($text =~ /\S/) |
292
|
0 |
21 |
if (is_script($parent)) { } |
304
|
0 |
21 |
if (not $$self{'header'} || $$self{'past_first_line'} and $$self{'stack'}[-1] eq 'body') |
312
|
0 |
21 |
if ($$self{'collapse_inline'}) |
340
|
2 |
1 |
unless ($$self{'force_type'}) |
341
|
2 |
0 |
if (my $identifier = $tokens[3]) |
342
|
2 |
0 |
if ($identifier =~ /(X?HTML)/) |
355
|
6 |
0 |
if (sel_type($tag) ne 'I' or $tag eq 'li' or $tag eq 'dd' or $tag eq 'td' or $tag eq 'th' or $tag eq 'object' or $tag eq 'ins' or $tag eq 'del' or $tag eq 'ins' or $tag eq 'button') { } |
373
|
0 |
0 |
if ($tag eq 'li' or $tag eq 'dt' or $tag eq 'dd' or $tag eq 'td' or $tag eq 'th') { } |
386
|
0 |
0 |
if ($tag eq 'tr' or $tag eq 'thead' or $tag eq 'tbody' or $tag eq 'tfoot') { } |
398
|
0 |
21 |
if ($tag eq 'script' or $tag eq 'style') { } |
409
|
0 |
0 |
if ($doc_level eq 'head') { } |
418
|
72 |
0 |
unless ($$self{'no_indent'}) |
420
|
69 |
3 |
unless $nobr |
422
|
72 |
0 |
unless $$self{'silent'} |
429
|
0 |
48 |
if (defined $$opts{'error'}) { } |
436
|
3 |
0 |
if ($$attr{$_} ne $_) { } |
448
|
18 |
36 |
if ($tag eq 'html' or $tag eq 'body' or $tag eq 'head') { } |
|
18 |
18 |
elsif ($tag eq 'address' or $tag eq 'blockquote' or $tag eq 'center' or $tag eq 'div' or $tag eq 'dl' or $tag eq 'form' or $tag eq 'ol' or $tag eq 'p' or $tag eq 'pre' or $tag eq 'table' or $tag eq 'ul' or $tag eq 'noscript' or $tag eq 'noframes' or $tag eq 'fieldset' or $tag =~ /^h[1-6]$/) { } |