Condition Coverage

blib/lib/Module/New/Command/Basic.pm
Criterion Covered Total %
condition 13 30 43.3


or 2 conditions

line l !l condition
45 4 0 $type ||= 'Module'
91 2 4 $context->config('make') || 'MakeMakerCPANfile'
141 4 0 $context->config('type') || 'Module'

or 3 conditions

line l !l&&r !l&&!r condition
32 2 0 2 $name =~ /::/ or $name =~ /\.pm$/
2 0 2 $name =~ /::/ or $name =~ /\.pm$/ or $name =~ m[^lib/]
1 0 1 $name =~ /\.t$/ or $name =~ m[^t/]
0 1 0 $name =~ /\.pl/ or $name =~ m[^(?:bin|scripts?)/]
91 0 6 0 $type ||= $context->config('make') || 'MakeMakerCPANfile'
165 10 0 0 $ENV{'HARNESS_ACTIVE'} or $INC{'Test/Classy.pm'}
172 0 0 0 $context->config('editor') || $ENV{'EDITOR'}
174 0 0 0 $options{'file'} || $context->mainfile