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