| blib/lib/HTML/Zoom/Parser/HTML/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 20 | 85.0 |
| line | true | false | branch |
|---|---|---|---|
| 40 | 0 | 81 | unless my $parser = 'HTML::TokeParser'->new(\$text) |
| 48 | 313 | 728 | if ($type eq 'S') |
| 51 | 31 | 282 | if $in_place |
| 52 | 1 | 312 | if (substr($tag, -1) eq '/') |
| 67 | 32 | 281 | if ($in_place) |
| 78 | 281 | 760 | if ($type eq 'E') |
| 89 | 446 | 595 | if ($type eq 'T') |
| 98 | 0 | 1041 | if ($type eq 'C') |
| 107 | 1 | 1040 | if ($type eq 'D') |
| 116 | 0 | 1041 | if ($type eq 'PI') |