lib/File/Fetch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 66 | 10.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
190 | 3 | 6 | 0 | lc $args->scheme ne 'file' and not $args->host |
413 | 12 | 2 | 2 | $$href{'host'} eq 'localhost' and $$href{'scheme'} eq 'file' |
451 | 0 | 0 | 0 | ref $target and UNIVERSAL::isa($target, 'SCALAR') |
504 | 0 | 0 | 0 | -e $file && -s _ |
516 | 0 | 0 | 0 | ref $target and UNIVERSAL::isa($target, 'SCALAR') |
1245 | 0 | 0 | 0 | HAS_FETCH and $fetch = can_run('fetch') |
1322 | 0 | 0 | 0 | not $share and $self->host |
line | l | !l | condition |
---|---|---|---|
368 | 4 | 2 | $parts[0] || '' |
768 | 0 | 0 | $File::Fetch::TIMEOUT || 60 |
778 | 0 | 0 | $File::Fetch::TIMEOUT || 60 |
903 | 0 | 0 | $captured || '' |
976 | 0 | 0 | $captured || '' |
1073 | 0 | 0 | $head || '' |
1077 | 0 | 0 | $head || '' |
1112 | 0 | 0 | $captured || '' |
1172 | 0 | 0 | $captured || '' |
1225 | 0 | 0 | $captured || '' |
1280 | 0 | 0 | $captured || '' |
1398 | 0 | 0 | "@$cmd" || '' |
0 | 0 | $captured || '' | |
1444 | 0 | 0 | "@$cmd" || '' |
0 | 0 | $captured || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
225 | 0 | 0 | 0 | $file ||= $self->file_default |
593 | 0 | 0 | 0 | $res->code == 304 or $res->code == 200 |
689 | 0 | 0 | 0 | $rc == 301 or $rc == 302 |
770 | 0 | 0 | 0 | not defined $ret or $ret == 0 |
1351 | 0 | 0 | 0 | not $rv or $@ |