Condition Coverage

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


and 2 conditions

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

and 3 conditions

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

or 2 conditions

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

or 3 conditions

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