Branch Coverage

blib/lib/Module/Util.pm
Criterion Covered Total %
branch 33 34 97.0


line true false branch
114 1 1 unless my $path = &module_path($module)
144 1 7 @_ ? :
147 2 3 if -e $path
164 1 1 @_ ? :
187 3 4 @_ ? :
190 5 2 if ($ns ne '') { }
191 4 1 unless $ns_path = &module_fs_path($ns)
215 2 0 if $] >= 5.008
220 3 4 if -f $_ and /\.pm\z/
230 6 4 unless my $path = &module_fs_path($module)
252 6 2 unless my(@parts) = &module_path_parts($module)
270 14 7 unless my(@parts) = &module_path_parts($module)
320 1 6 unless $parts[-1] =~ s/\.pm\z//
322 1 5 unless is_valid_module_name $module
343 20 10 unless my(@parts) = &module_name_parts($module)
365 20 12 unless is_valid_module_name $module
386 20 11 unless $module = canonical_module_name $module