Condition Coverage

blib/lib/App/MechaCPAN/Install.pm
Criterion Covered Total %
condition 39 53 73.5


and 3 conditions

line !l l&&!r l&&r condition
51 4 0 30 ref $opts->{'source'} ne 'HASH' and ref $opts->{'source'} ne 'CODE'
288 36 0 2 -e 'Build.PL' and not $is_mb_dep
297 2 0 36 not defined $maker and -e 'Makefile.PL'
356 1 16 20 not $skip_tests and defined $target->{'modules'}
368 1 30 6 not $skip_tests and $opts->{'smart-tests'}
625 544 1 2 $cached_target->{'state'} eq $COMPLETE and $src->{'constraint'} ne $cached_target->{'constraint'}
672 0 1 1 $prereq->{'prereqs_was_installed'} and $prereq->{'was_installed'}
869 46 219 11 $module ne 'perl' and not $is_core
934 8 5 1 defined $target->{'version'} and $target->{'version'} eq $ver
965 42 2 0 $opts->{'only-sources'} and not defined $new_src
985 15 0 25 exists $target->{'installed_version'} and not $target->{'was_installed'}
994 40 0 0 exists $target->{'inital_version'} and not defined $target->{'inital_version'}

or 2 conditions

line l !l condition
39 34 0 shift() // '.'
144 9 31 $opts->{'update'} // 1
740 1 1 $commit || 'master'
919 2 4 $constraint // 0

or 3 conditions

line l !l&&r !l&&!r condition
152 1 0 473 $target->{'state'} eq $COMPLETE or $target->{'state'} eq $FAILED
800 0 0 0 $ff->error || "Could not download $url"
1016 109 0 110 $target->{'name'} || $target->{'module'} || $target->{'src_name'}