| blib/lib/CPAN/FindDependencies.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 32 | 39 | 82.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 307 | 40 | 10 | 36 | $core && $core >= $args{'version'} |
| 371 | 3 | 0 | 42 | $opts->{'cachedir'} and -d $opts->{'cachedir'} |
| 3 | 5 | 37 | $opts->{'cachedir'} and -d $opts->{'cachedir'} and -r $opts->{'cachedir'} . "/$destfile" | |
| 379 | 8 | 0 | 0 | $contents and $opts->{'cachedir'} |
| 0 | 0 | 0 | $contents and $opts->{'cachedir'} and -d $opts->{'cachedir'} |
| line | l | !l | condition |
|---|---|---|---|
| 228 | 3 | 10 | $opts{'perl'} ||= 5.005 |
| 229 | 3 | 10 | $opts{'maxdepth'} ||= 18446744073709551615 |
| 285 | 7 | 1 | $file || 'http://www.cpan.org/modules/02packages.details.txt.gz' |
| 315 | 81 | 13 | $depth ||= 0 |
| 356 | 25 | 12 | $version || 0 |
| 409 | 26 | 2 | $yaml->{'requires'} ||= {} |
| 410 | 4 | 24 | $yaml->{'build_requires'} ||= {} |
| 411 | 7 | 21 | $yaml->{'recommends'} ||= {} |
| 412 | 4 | 24 | $yaml->{'configure_requires'} ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 322 | 8 | 36 | 50 | $target eq 'perl' or _incore('module', $target, 'perl', $opts->{'perl'}, 'version', $version) |
| 406 | 4 | 0 | 28 | $@ or not defined $yaml |