Condition Coverage

lib/CPANPLUS/Internals/Source.pm
Criterion Covered Total %
condition 27 44 61.4


and 3 conditions

line !l l&&!r l&&r condition
147 25 0 0 $conf->get_conf('no_update') and not $update_source
221 0 3 72 -e $$args{'file'} and (stat $$args{'file'})[9] + $conf->_get_source('update') > time
377 2 18 5 $uptodate && $use_stored
398 0 0 25 $$self{'_modtree'} and $$self{'_authortree'}
473 0 0 25 $storable and -e $stored
0 0 25 $storable and -e $stored and -s _
0 20 5 $storable and -e $stored and -s _ and $$args{'uptodate'}
543 0 20 0 -e $stored and not -w $stored

or 2 conditions

line l !l condition
377 5 20 $self->__retrieve_source('path', $path, 'uptodate', $uptodate && $use_stored, 'verbose', $$args{'verbose'}) || {}

or 3 conditions

line l !l&&r !l&&!r condition
70 16497 0 6 $$self{'_modtree'} or $recurse++ > 0
83 370 0 0 $$self{'_authortree'} or $recurse++ > 0
228 3 3 69 $flag or $$args{'update_source'}
384 5 20 0 $$stored{'_authortree'} || $self->__create_author_tree('uptodate', $uptodate, 'path', $path, 'verbose', $$args{'verbose'})
390 5 20 0 $$stored{'_modtree'} || $self->_create_mod_tree('uptodate', $uptodate, 'path', $path, 'verbose', $$args{'verbose'})
404 2 18 5 not $uptodate or not keys %$stored