Condition Coverage

blib/lib/CPAN/FindDependencies.pm
Criterion Covered Total %
condition 33 38 86.8


and 3 conditions

line !l l&&!r l&&r condition
335 13 1 7 exists $_parsed_index_cache{$url} and $_parsed_index_cache{$url}{'expiry'} > time
390 53 12 113 $core && $core >= $args{'version'}
436 8 11 33 !exists $reqs{'-warning'} && $depth != $self->{'maxdepth'}
476 8 0 64 $self->{'cachedir'} and -d $self->{'cachedir'}
8 18 46 $self->{'cachedir'} and -d $self->{'cachedir'} and -r $self->{'cachedir'} . "/$cachefile"
484 12 0 14 $contents and $post_process
487 21 2 3 $contents and $self->{'cachedir'}
2 0 3 $contents and $self->{'cachedir'} and -d $self->{'cachedir'}

or 2 conditions

line l !l condition
310 5 14 $self->{'perl'} ||= 5.005
337 14 0 $self->_get($url) || die('CPAN::FindDependencies' . ": Couldn't fetch 02packages index file from $url\n")
397 171 19 $depth ||= 0
436 36 16 $version || 0

or 3 conditions

line l !l&&r !l&&!r condition
404 12 113 65 $module eq 'perl' or $self->_incore('module', $module, 'perl', $self->{'perl'}, 'version', $version)
568 4 0 42 $@ or not defined $meta_data