Condition Coverage

blib/lib/Module/Starter/Smart.pm
Criterion Covered Total %
condition 9 19 47.3


and 2 conditions

line l !l condition
301 0 1 push @modules, _list_modules($name, $prefix ? "${prefix}::$_" : $_) and next

and 3 conditions

line !l l&&!r l&&r condition
123 1 0 1 -e $self->{'basedir'} and not $self->{'force'}
286 0 1 1 $libdir and -d $libdir
302 0 1 0 $_ =~ s/\.pm$// and push @modules, $prefix ? "${prefix}::$_" : $_
312 0 0 2 $tdir and -d $tdir

or 2 conditions

line l !l condition
292 1 1 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
112 0 0 0 $self->{'dir'} || $self->{'distro'} || do { (my $first = $$self{'modules'}[0]) =~ s/::/-/g; $first }