| lib/CPANPLUS/Internals/Fetch.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 17 | 52.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 117 | 84 | 1 | 0 | my $where = $modobj->status->fetch and not $force |
| 85 | 0 | 0 | my $where = $modobj->status->fetch and not $force and not $ttl | |
| 158 | 4 | 0 | 15 | $ttl and [stat $local_file]->[9] + $ttl > time |
| 399 | 0 | 0 | 66 | -e $file and -s _ |
| line | l | !l | condition |
|---|---|---|---|
| 320 | 0 | 65 | $host->{'host'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 130 | 43 | 42 | 0 | $args->{'fetchdir'} || 'File::Spec'->catdir($conf->get_conf('base'), $modobj->path) |