line |
true |
false |
branch |
34
|
4 |
139 |
unless (defined $string) |
38
|
2 |
137 |
if ($string eq '') |
48
|
2 |
135 |
if ($opt{'remove_indent'}) |
53
|
1 |
136 |
if ($opt{'agressive'}) |
58
|
17 |
120 |
if ($opt{'insane'}) |
63
|
28 |
109 |
if ($opt{'destructive'}) |
68
|
35 |
102 |
if ($opt{'aggressive'}) |
69
|
35 |
0 |
unless defined $opt{'remove_empty_text'} |
70
|
35 |
0 |
unless defined $opt{'remove_blanks_start'} |
71
|
33 |
2 |
unless defined $opt{'remove_blanks_end'} |
75
|
28 |
109 |
if ($opt{'destructive'}) |
76
|
27 |
1 |
unless defined $opt{'remove_spaces_line_start'} |
77
|
27 |
1 |
unless defined $opt{'remove_spaces_line_end'} |
81
|
17 |
120 |
if ($opt{'insane'}) |
82
|
17 |
0 |
unless defined $opt{'remove_spaces_everywhere'} |
83
|
17 |
0 |
unless defined $opt{'remove_cr_lf_everywhere'} |
89
|
1 |
136 |
if ($opt{'process_xincludes'}) |
106
|
62 |
75 |
unless $opt{'no_prolog'} |
114
|
15 |
145 |
if ($flc->nodeType eq 14 or $flc->nodeType eq 10) { } |
|
8 |
137 |
elsif ($flc->nodeType eq 7) { } |
|
0 |
137 |
elsif ($flc->nodeType eq 8) { } |
|
137 |
0 |
elsif ($flc->nodeType eq 1) { } |
119
|
2 |
13 |
if $opt{'keep_dtd'} |
127
|
9 |
6 |
if ($opt{'ignore_dtd'}) { } |
131
|
10 |
4 |
if ($dc->nodeType == 15) |
135
|
5 |
5 |
if ($dc->toString =~ //) |
160
|
2 |
6 |
if $opt{'keep_pi'} |
164
|
0 |
0 |
if $opt{'keep_comments'} |
272
|
111420 |
0 |
if ($outnode) |
284
|
473 |
111347 |
if ($child->nodeType eq 3) { } |
|
2 |
111345 |
elsif ($child->nodeType eq 5) { } |
|
32 |
111313 |
elsif ($child->nodeType eq 8) { } |
|
20 |
111293 |
elsif ($child->nodeType eq 4) { } |
|
8 |
111285 |
elsif ($child->nodeType eq 7) { } |
|
111283 |
2 |
elsif ($child->nodeType eq 1) { } |
288
|
6 |
467 |
if ($do_not_remove_blanks{$child->parentNode->getName}) { } |
298
|
133 |
334 |
if $opt{'remove_blanks_start'} |
300
|
123 |
344 |
if $opt{'remove_blanks_end'} |
306
|
53 |
414 |
if $opt{'remove_cr_lf_everywhere'} |
312
|
122 |
345 |
if $opt{'remove_spaces_line_start'} |
314
|
102 |
365 |
if $opt{'remove_spaces_line_end'} |
316
|
58 |
409 |
if $opt{'remove_spaces_everywhere'} |
319
|
124 |
343 |
if $opt{'remove_empty_text'} |
341
|
199 |
197 |
if ($child->nodeType eq 1) |
349
|
203 |
197 |
if ($child->nodeType eq 1) |
359
|
90 |
155 |
if ($child->nodeType eq 3) |
360
|
4 |
86 |
if ($child->data =~ /[^ \t\r\n]/) |
366
|
27 |
42 |
if ($child->nodeType eq 8 and $opt{'keep_comments'}) |
370
|
20 |
30 |
if ($child->nodeType eq 4 and $opt{'keep_cdata'}) |
374
|
8 |
18 |
if ($child->nodeType eq 7 and $opt{'keep_pi'}) |
379
|
8 |
178 |
if ($child->nodeType eq 5) |
391
|
26 |
447 |
if ($we_have_infos_from_dtd) { } |
|
256 |
258 |
elsif ($empty and @{$child->parentNode->childNodes;} > 1) { } |
393
|
6 |
20 |
if ($do_not_remove_blanks{$child->parentNode->getName}) { } |
401
|
0 |
256 |
if ($do_not_remove_blanks{$child->parentNode->getName}) { } |
416
|
13 |
19 |
if $opt{'keep_comments'} |
421
|
8 |
12 |
if $opt{'keep_cdata'} |
426
|
2 |
6 |
if $opt{'keep_pi'} |