| blib/lib/HTML/HeadParser/Liberal.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 28 | 39.2 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 0 | 2 | if $HTML::HeadParser::DEBUG |
| 0 | 2 | if $$self{'tag'} | |
| 1 | 0 | if ($$attr{'name'}) { } | |
| 0 | 0 | elsif ($$attr{'charset'}) { } | |
| 1 | 0 | unless (defined $key and length $key) | |
| 0 | 0 | unless exists $$attr{'href'} | |
| 0 | 0 | unless exists $$attr{'href'} | |
| 0 | 0 | if $_ eq '/' | |
| 1 | 1 | if ($tag eq 'meta') { } | |
| 0 | 1 | elsif ($tag eq 'base') { } | |
| 0 | 1 | elsif ($tag eq 'isindex') { } | |
| 0 | 1 | elsif ($tag =~ /^(?:title|noscript|object|command)$/) { } | |
| 0 | 1 | elsif ($tag eq 'link') { } | |
| 1 | 0 | elsif ($tag eq 'head' or $tag eq 'html') { } |