Branch Coverage

blib/lib/WWW/Crawl.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
36 0 0 if $url =~ /^www/
38 0 0 unless $uri
49 0 0 if $parsed{$url}
53 0 0 if $resp->{'status'} == 404
54 0 0 unless ($resp->{'success'})
65 0 0 if ($link->scheme =~ /^http/ and $link->authority eq $uri->authority)
68 0 0 unless $link->path =~ /\.(pdf|css|png|jpg|svg|webmanifest)/ or $address =~ /#/
75 0 0 if ($link->scheme =~ /^http/ and $link->authority eq $uri->authority)
84 0 0 if ($link->scheme =~ /^http/ and $link->authority eq $uri->authority)
87 0 0 unless $timestamp
96 0 0 if ($link->scheme =~ /^http/ and $link->authority eq $uri->authority)
99 0 0 unless $link->path =~ /\.(pdf|css|png|jpg|svg)/
103 0 0 if $callback
104 0 0 if $self->{'nolinks'}
107 0 0 if $self->{'nolinks'}
115 0 0 if ($resp->{'success'} and $resp->{'headers'}{'content-encoding'} and $resp->{'headers'}{'content-encoding'} =~ /gzip/i)
118 0 0 if (gunzip(\$content, \$uncompressed)) { }