blib/lib/HTML/Clean.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 52 | 94 | 55.3 |
line | true | false | branch |
---|---|---|---|
97 | 10 | 0 | if ($self->initialize($data)) { } |
99 | 10 | 0 | unless $level |
129 | 1 | 12 | unless $data |
132 | 4 | 8 | if (ref $data) |
138 | 0 | 8 | if ($data =~ /\n/) |
143 | 8 | 0 | if (-f $data) |
146 | 0 | 8 | unless sysopen IN, "$data", 0 |
168 | 12 | 0 | if (defined $level and $level > 0 and $level < 10) |
195 | 0 | 174 | if /^$]is |
203 | 0 | 162 | if /navigator\.app(name|version)/is |
206 | 1 | 161 | if /[A-z0-9]+\:[A-z0-9]+\s*\{.*\}/is |
221 | 7 | 5 | if ($js =~ / |