Branch Coverage

blib/lib/Module/Path.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
18 0 2 if ($^O =~ /^(dos|os2)/i) { }
0 2 elsif ($^O =~ /^MacOS/i) { }
34 2 1 unless $relpath =~ /\.pm$/
38 0 29 unless defined $dir
42 0 29 if ref $dir
44 0 29 unless -d $dir and -r $dir and -x $dir
53 0 29 if $@ or not defined $abs_dir
56 2 27 if -f $fullpath