Condition Coverage

lib/CPANPLUS/Module.pm
Criterion Covered Total %
condition 42 73 57.5


and 3 conditions

line !l l&&!r l&&r condition
482 1 19 29 not $self->status->_fetch_from and $cb->configure_object->get_conf('md5')
20 16 13 not $self->status->_fetch_from and $cb->configure_object->get_conf('md5') and $self->package ne 'CHECKSUMS'
558 14 0 1 not $prefer_makefile and $found_build
559 6 9 0 $found_build and not $found_makefile
560 1 0 14 $prefer_makefile and $found_makefile
561 0 9 6 $found_makefile and not $found_build
564 14 0 1 $type eq 'CPANPLUS::Dist::Build' and not grep {$_ eq 'CPANPLUS::Dist::Build';} 'CPANPLUS::Dist'->dist_types
754 5 7 1 $target eq 'install' and not $$args{'force'}
12 1 0 $target eq 'install' and not $$args{'force'} and not $self->package_is_perl_core
13 0 0 $target eq 'install' and not $$args{'force'} and not $self->package_is_perl_core and $self->status->installed || $self->is_uptodate
13 0 0 $target eq 'install' and not $$args{'force'} and not $self->package_is_perl_core and $self->status->installed || $self->is_uptodate and not sub {
947 17 9 1 $flag and /^=head/i
955 16 6 4 $flag and /^(?!=)(\S+)\s*(\S+)?/
1225 1 0 0 $conf->get_conf('dist_type') and $conf->get_conf('dist_type') ne 'CPANPLUS::Dist::Build' || $conf->get_conf('dist_type') ne 'CPANPLUS::Dist::MM'
1254 0 0 3 defined $file and -f $file

or 2 conditions

line l !l condition
751 0 5 $$args{'prereq_target'} ||= 'create'
957 4 0 $2 || '0'

or 3 conditions

line l !l&&r !l&&!r condition
403 0 24 0 shift @_ || $]
614 0 14 0 $conf->get_conf('dist_type') || $self->status->installer_type
754 0 0 0 $self->status->installed || $self->is_uptodate
830 8 4 0 $format ||= $self->status->installer_type
1088 8 0 15 $$href{$key} || $alt_rv
1121 1 0 0 $self->description || loc('None given')
1136 4 1 0 $cb->_dslip_defs->[$i][1]{$item} || loc('Unknown')
1225 0 0 0 $conf->get_conf('dist_type') ne 'CPANPLUS::Dist::Build' || $conf->get_conf('dist_type') ne 'CPANPLUS::Dist::MM'