Condition Coverage

blib/lib/CPAN/Mini.pm
Criterion Covered Total %
condition 6 54 11.1


and 3 conditions

line !l l&&!r l&&r condition
238 0 0 0 $header eq 'File' and $value eq '02packages.details.txt' || $value eq '02packages.details.txt.gz'
296 0 9 0 -e $$self{'local'} and not -d $$self{'local'}
456 0 0 0 $skip_if_present and -f $local_file
606 0 0 0 $$self{'ignore_source_control'} and exists $Source_control_files{$basename}
614 0 0 0 -f $file and not $$self{'mirrored'}{$file}
814 1 7 8 defined $config_file && -e $config_file
843 0 0 0 not $quiet and $orig_remote
870 0 0 0 ref $$CPAN::Config{'urllist'} eq 'ARRAY' and $$CPAN::Config{'urllist'}[0]
898 0 0 0 ref $hosts eq 'ARRAY' and $$hosts[0]

or 2 conditions

line l !l condition
441 0 0 $arg ||= {}
456 0 0 $$self{'mirrored'}{$local_file} || 0
458 0 0 $$self{'mirrored'}{$local_file} ||= 1
666 0 0 $arg ||= {}
735 2 0 $$options{'log_level'} || 'info'
902 0 0 $$url_parts{'path'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
181 0 0 0 $$self{'force'} or $$self{'changes_made'}
238 0 0 0 $value eq '02packages.details.txt' || $value eq '02packages.details.txt.gz'
360 0 0 0 $$self{'scratch'} ||= File::Temp::tempdir('CLEANUP', 1)
394 0 0 0 $base_dir ||= $self->_scratch_dir
706 18 0 0 'File::HomeDir'->my_home || $ENV{'HOME'}