line |
true |
false |
branch |
114
|
6 |
35 |
if ($key eq "config_file") |
122
|
7 |
28 |
if (grep {$newkey eq $_;} @unsupported_options) |
198
|
1 |
15 |
ref $value eq 'ARRAY' ? : |
200
|
1 |
15 |
unless $parm eq "text" or $parm eq "type" |
224
|
1 |
21 |
if (@_ == 0) |
229
|
1 |
20 |
if utf8::is_utf8($html) |
231
|
2 |
19 |
unless defined $errorblock |
252
|
160 |
30 |
if ($line =~ /^line (\d+) column (\d+) - (Warning|Error|Info): (.+)$/) { } |
|
15 |
15 |
elsif ($line =~ /^Info: (.+)$/) { } |
|
8 |
7 |
elsif ($line =~ /^Tidy found \d+ warnings? and \d+ errors?!/) { } |
|
5 |
2 |
elsif ($line eq 'No warnings or errors were found.') { } |
|
0 |
2 |
elsif ($line eq 'This document has errors that must be fixed before') { } |
|
0 |
2 |
elsif ($line eq 'using HTML Tidy to generate a tidied up version.') { } |
|
1 |
1 |
elsif ($line =~ /^\s*$/) { } |
254
|
19 |
8 |
$type eq 'Info' ? : |
|
133 |
27 |
$type eq 'Warning' ? : |
290
|
152 |
38 |
if $message and $self->_is_keeper($message) |
307
|
1 |
13 |
if (@_ == 0) |
312
|
2 |
11 |
if utf8::is_utf8($text) |
313
|
13 |
0 |
if (defined $text) |
335
|
45 |
130 |
if (@ignore_types) |
336
|
18 |
27 |
if grep {$message->type == $_;} @ignore_types |
340
|
15 |
142 |
if (@ignore_texts) |
341
|
5 |
10 |
if grep {$message->text =~ /$_/;} @ignore_texts |