blib/lib/Module/Starter/Smart.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 19 | 47.3 |
line | l | !l | condition |
---|---|---|---|
303 | 0 | 1 | push @modules, _list_modules($name, $prefix ? "${prefix}::$_" : $_) and next |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
125 | 2 | 0 | 1 | -e $self->{'basedir'} and not $self->{'force'} |
288 | 0 | 2 | 1 | $libdir and -d $libdir |
304 | 0 | 1 | 0 | $_ =~ s/\.pm$// and push @modules, $prefix ? "${prefix}::$_" : $_ |
314 | 0 | 0 | 3 | $tdir and -d $tdir |
line | l | !l | condition |
---|---|---|---|
294 | 1 | 1 | shift() || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
114 | 0 | 0 | 0 | $self->{'dir'} || $self->{'distro'} || do { (my $first = $self->{'modules'}[0]) =~ s/::/-/g; $first } |