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 31 unless defined $dir
42 0 31 if ref $dir
44 0 31 unless -d $dir and -r $dir
53 0 31 if $@ or not defined $abs_dir
56 2 29 if -f $fullpath