Branch Coverage

blib/lib/URI/Fetch.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
39 0 0 if %param
43 0 0 if ($cache)
44 0 0 unless ($freeze and $thaw)
49 0 0 if (my $blob = $cache->get($uri))
55 0 0 if ($p_no_net)
56 0 0 if $p_no_net < 0
57 0 0 if ($ref and $p_no_net == 1 || $ref->{'CacheTime'} > time - $p_no_net)
67 0 0 if $p_no_net == 1
78 0 0 if ($HAS_ZLIB)
81 0 0 if (my $etag = $p_etag || $ref->{'ETag'})
84 0 0 if (my $ts = $p_lastmod || $ref->{'LastModified'})
94 0 0 if ($res->previous and $res->previous->code == 301) { }
0 0 elsif ($res->code == 410) { }
0 0 elsif ($res->code == 304) { }
0 0 elsif (not $res->is_success) { }
109 0 0 $force ? :
117 0 0 if ($res->content_encoding and $res->content_encoding eq 'gzip')
125 0 0 if ($content_hook)
126 0 0 unless ref $content_hook eq 'CODE'
134 0 0 $p_cache_grep ? :
0 0 if ($cache and $p_cache_grep ? &$p_cache_grep($fetch) : 1)