blib/lib/Text/Amuse/Preprocessor/HTML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 33 | 90.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
158 | 31 | 80 | 310 | defined $tag and exists $preserved{$tag} |
177 | 31 | 370 | 20 | defined $tag and $tag eq "a" |
401 | 5 | 15 | defined $tag and $tag eq "a" and my $href = $attr->{'href'} | |
205 | 31 | 80 | 311 | $tag and exists $preserved{$tag} |
289 | 294 | 0 | 41 | $parsed =~ m[( |<[^/]+?> )] and $recursion < 20 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
146 | 47 | 0 | 374 | $tag eq "span" or $tag eq "font" |
2 | 4 | 368 | $tag eq "ol" or $tag eq "ul" | |
71 | 32 | 265 | $tag eq "p" or $tag eq "div" | |
193 | 47 | 0 | 375 | $tag eq "span" or $tag eq "font" |
2 | 4 | 369 | $tag eq "ol" or $tag eq "ul" | |
72 | 32 | 265 | $tag eq "p" or $tag eq "div" |