Condition Coverage

blib/lib/Module/Install.pm
Criterion Covered Total %
condition 19 45 42.2


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 0 $^O eq "MSWin32" and $] >= "5.006"
90 0 0 0 $a > 0 and $a < 5
182 0 0 0 $method =~ /^_/ and $self->can($method)
440 0 0 0 defined $_[0] && !ref($_[0]) && $_[0] =~ /^[^\W\d]\w*(?:::\w+)*\z/s

or 2 conditions

line l !l condition
248 2 2 $args{'dispatch'} ||= "Admin"
249 0 4 $args{'prefix'} ||= "inc"
251 2 2 $args{'bundle'} ||= "inc/BUNDLES"
319 0 0 $self->{'extensions'} ||= []
418 24 2 shift() || 0
425 24 2 $1 || 0

or 3 conditions

line l !l&&r !l&&!r condition
250 2 2 0 $args{'author'} ||= $^O eq "VMS" ? "_author" : ".author"
252 2 2 0 $args{'base'} ||= $base_path
254 2 2 0 $args{'name'} ||= $class
255 2 2 0 $args{'version'} ||= $class->VERSION
260 2 2 0 $args{'file'} ||= "$args{'base'}/$args{'prefix'}/$args{'path'}.pm"
339 0 0 0 $subpath eq lc $subpath or $subpath eq uc $subpath
345 0 0 0 $in_pod or /^=cut/