blib/lib/URI/Fetch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 27 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
44 | 0 | 0 | 0 | $freeze and $thaw |
57 | 0 | 0 | 0 | $ref and $p_no_net == 1 || $ref->{'CacheTime'} > time - $p_no_net |
94 | 0 | 0 | 0 | $res->previous and $res->previous->code == 301 |
117 | 0 | 0 | 0 | $res->content_encoding and $res->content_encoding eq 'gzip' |
134 | 0 | 0 | 0 | $cache and $p_cache_grep ? &$p_cache_grep($fetch) : 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
57 | 0 | 0 | 0 | $p_no_net == 1 || $ref->{'CacheTime'} > time - $p_no_net |
70 | 0 | 0 | 0 | $ua ||= do { my $ua = 'LWP::UserAgent'->new; $ua->agent(join('/', $class, $class->VERSION)); $ua->env_proxy; $ua } |
81 | 0 | 0 | 0 | $p_etag || $ref->{'ETag'} |
84 | 0 | 0 | 0 | $p_lastmod || $ref->{'LastModified'} |