Branch Coverage

blib/lib/Web/PageMeta.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
130 3 11 if $status != 200
133 3 8 if (my $content_type = $headers->{'content-type'})
134 3 0 if (my($charset) = $content_type =~ /\bcharset=(.+)/)
135 3 0 if (my $decoder = &find_mime_encoding($charset))
150 0 19 unless $key =~ /^og:(.+)$/
155 1 10 if ($self->has_extra_scraper)
163 11 0 if ($page_meta{'image'})
166 2 9 $scraper_data->{'base_href'} ? :
181 0 8 unless $fetch_url
196 0 8 if $status != 200
204 1 21 unless (&HTTP::Status::status_message($status))