Branch Coverage

blib/lib/Web/PageMeta.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
114 0 11 unless $status == 200
117 3 8 if (my $content_type = $headers->{'content-type'})
118 3 0 if (my($charset) = $content_type =~ /\bcharset=(.+)/)
119 3 0 if (my $decoder = &find_mime_encoding($charset))
133 0 19 unless $key =~ /^og:(.+)$/
137 1 10 if ($self->has_extra_scraper)
144 11 0 if ($page_meta{'image'})
147 2 9 $scraper_data->{'base_href'} ? :
161 0 8 unless $fetch_url
170 0 8 unless $status == 200