Condition Coverage

blib/lib/App/MechaCPAN/Install.pm
Criterion Covered Total %
condition 28 38 73.6


and 3 conditions

line !l l&&!r l&&r condition
48 4 0 25 ref $opts->{'source'} ne 'HASH' and ref $opts->{'source'} ne 'CODE'
173 10 8 1 defined $ver and $target->{'version'} eq $ver
183 10 4 4 defined $ver and not $target->{'update'}
256 31 0 2 -e 'Build.PL' and not $is_mb_dep
265 2 0 31 not defined $maker and -e 'Makefile.PL'
328 1 19 12 not $skip_tests and defined $target->{'module'}
455 0 1 1 $cached_target->{'state'} eq $COMPLETE and $target->{'constraint'} ne $cached_target->{'constraint'}
650 41 214 8 $module ne 'perl' and not $is_core
684 41 266 0 ref $target eq 'HASH' and exists $target->{'state'}

or 2 conditions

line l !l condition
36 29 0 shift() // '.'
112 9 24 $opts->{'update'} // 1
186 0 4 $constraint // 0
520 1 1 $commit || 'master'

or 3 conditions

line l !l&&r !l&&!r condition
581 0 0 0 $ff->error || "Could not download $url"