blib/lib/File/ShareDir/Install.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 33 | 60.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
31 | 0 | 0 | 6 | defined $type and $type =~ /^(module|dist)$/ |
36 | 3 | 3 | 0 | $type eq 'dist' and @_ |
52 | 0 | 0 | 2 | defined $type and $type =~ /^(module|dist)$/ |
57 | 1 | 1 | 0 | $type eq 'dist' and @_ |
106 | 0 | 0 | 6 | defined $d and -d $d |
109 | 3 | 6 | 0 | not $del and $ALREADY{$d}++ |
209 | 4 | 16 | 5 | not $def->{'dotfiles'} and $entry =~ /^\./ |
230 | 0 | 0 | 4 | defined $_[0] && !ref($_[0]) && $_[0] =~ /^[^\W\d]\w*(?:::\w+)*$/s |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
106 | 3 | 6 | 0 | $del or defined $d and -d $d |
214 | 3 | 3 | 2 | $entry eq '.' or $entry eq '..' |
6 | 0 | 2 | $entry eq '.' or $entry eq '..' or $entry =~ /^\.(svn|git|cvs)$/ |