Condition Coverage

blib/lib/File/ShareDir/Install.pm
Criterion Covered Total %
condition 20 33 60.6


and 3 conditions

line !l l&&!r l&&r condition
30 0 0 6 defined $type and $type =~ /^(module|dist)$/
35 3 3 0 $type eq "dist" and @_
51 0 0 2 defined $type and $type =~ /^(module|dist)$/
56 1 1 0 $type eq "dist" and @_
105 0 0 6 defined $d and -d $d
108 3 6 0 not $del and $ALREADY{$d}++
208 4 16 5 not $def->{'dotfiles'} and $entry =~ /^\./
229 0 0 4 defined $_[0] && !ref($_[0]) && $_[0] =~ /^[^\W\d]\w*(?:::\w+)*$/s

or 3 conditions

line l !l&&r !l&&!r condition
105 3 6 0 $del or defined $d and -d $d
213 3 3 2 $entry eq "." or $entry eq ".."
6 0 2 $entry eq "." or $entry eq ".." or $entry =~ /^\.(svn|git|cvs)$/