Condition Coverage

lib/CPANPLUS/Dist/MM.pm
Criterion Covered Total %
condition 29 62 46.7


and 3 conditions

line !l l&&!r l&&r condition
249 7 2 3 $dist->status->prepared and not $force
295 0 9 0 defined $metadata && exists $metadata->{'x_use_unsafe_inc'}
302 7 2 0 -e sub { ;}->() and -M sub { ;}->() < -M $dir
9 0 0 -e sub { ;}->() and -M sub { ;}->() < -M $dir and not $force
393 6 0 0 not -e sub { ;}->($dir) and -e sub { ;}->($dir)
593 6 1 2 $dist->status->created and not $force
620 0 5 0 defined $metadata && exists $metadata->{'x_use_unsafe_inc'}
656 3 2 0 -d sub { ;}->($dir) and -M sub { ;}->($dir) < -M $dir
5 0 0 -d sub { ;}->($dir) and -M sub { ;}->($dir) < -M $dir and not $force
759 5 0 0 $conf->get_conf("cpantest") and not $prereq_fail
828 1 0 0 defined $self->status->installed and not $self->status->installed
1 0 0 defined $self->status->installed and not $self->status->installed and not $force
849 0 1 0 defined $metadata && exists $metadata->{'x_use_unsafe_inc'}
860 1 0 0 $sudo and $>
926 2 0 1 -s $file and not $force

or 2 conditions

line l !l condition
228 0 12 $conf->get_conf('makemakerflags') || ''
331 1 7 $verbose || $conf->get_conf('allow_build_interactivity') || 0
699 0 4 $verbose || $conf->get_conf('allow_build_interactivity') || 0
953 2 0 $prereqs ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
428 3 3 0 $prereqs ||= $dist->_find_prereqs("verbose", $verbose, "file", $dist->status->makefile)
743 0 0 0 $force or $cb->_callbacks->proceed_on_test_failure->($self, $captured)
760 0 0 0 $test_fail || $fail