Condition Coverage

lib/CPANPLUS/Module.pm
Criterion Covered Total %
condition 46 85 54.1


and 3 conditions

line !l l&&!r l&&r condition
583 2 16 36 not $self->status->_fetch_from and $cb->configure_object->get_conf("md5")
18 20 16 not $self->status->_fetch_from and $cb->configure_object->get_conf("md5") and $self->package ne "CHECKSUMS"
677 17 0 1 not $prefer_makefile and $found_build
678 17 0 1 $found_build and not $found_makefile
679 1 1 16 $prefer_makefile and $found_makefile
680 2 0 16 $found_makefile and not $found_build
688 1 18 1 $type and $type eq "CPANPLUS::Dist::Build"
1 0 0 'CPANPLUS::Dist'->has_dist_type('CPANPLUS::Dist::Build') && $cb->module_tree('CPANPLUS::Dist::Build')->is_uptodate('version', '0.60')
19 0 1 $type and $type eq "CPANPLUS::Dist::Build" and not 'CPANPLUS::Dist'->has_dist_type('CPANPLUS::Dist::Build') && $cb->module_tree('CPANPLUS::Dist::Build')->is_uptodate('version', '0.60')
936 9 7 1 $target eq "install" and not $args->{'force'}
16 1 0 $target eq "install" and not $args->{'force'} and not $self->package_is_perl_core
8 0 0 $target eq "install" and not $args->{'force'} and not $self->package_is_perl_core and $self->status->installed || $self->is_uptodate
0 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 { ;}->($format)
1148 47 15 1 $flag and /^=head/i
1156 44 11 7 $flag and /^(?!=)(\S+)\s*(\S+)?/
1298 16 23 0 defined $href->{'dir'} and ref $href->{'dir'}
1440 0 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'
1469 0 0 0 defined $file and -f $file

or 2 conditions

line l !l condition
698 0 1 $self->status->configure_requires || {}
933 2 7 $args->{'prereq_target'} ||= "create"

or 3 conditions

line l !l&&r !l&&!r condition
428 20 296 0 shift() || $self->package
468 0 32 0 shift() || $]
749 0 19 0 $conf->get_conf('dist_type') || $self->status->installer_type
936 0 0 0 $self->status->installed || $self->is_uptodate
1013 8 8 0 $format ||= $self->status->installer_type
1300 22 0 17 $href->{$key} || $alt_rv
1335 0 0 0 $self->description || loc('None given')
1352 0 0 0 $cb->_dslip_defs->[$i][1]{$item} || loc('Unknown')
1440 0 0 0 $conf->get_conf('dist_type') ne 'CPANPLUS::Dist::Build' || $conf->get_conf('dist_type') ne 'CPANPLUS::Dist::MM'