| blib/lib/Web/PageMeta.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 22 | 72.7 |
| line | true | false | branch |
|---|---|---|---|
| 116 | 3 | 11 | if $status != 200 |
| 119 | 3 | 8 | if (my $content_type = $headers->{'content-type'}) |
| 120 | 3 | 0 | if (my($charset) = $content_type =~ /\bcharset=(.+)/) |
| 121 | 3 | 0 | if (my $decoder = &find_mime_encoding($charset)) |
| 136 | 0 | 19 | unless $key =~ /^og:(.+)$/ |
| 141 | 1 | 10 | if ($self->has_extra_scraper) |
| 149 | 11 | 0 | if ($page_meta{'image'}) |
| 152 | 2 | 9 | $scraper_data->{'base_href'} ? : |
| 167 | 0 | 8 | unless $fetch_url |
| 177 | 0 | 8 | if $status != 200 |
| 185 | 1 | 21 | unless (&HTTP::Status::status_message($status)) |