Branch Coverage

blib/lib/Treex/Core/Loader.pm
Criterion Covered Total %
branch 0 12 0.0


line true false branch
19 0 0 unless $module and $module =~ /^\w(?:[\w:']*\w)?$/
22 0 0 if $module->can('new') or eval "require $module; 1"
25 0 0 if $@ =~ /^Can't locate \Q@{[class_to_path($module)];}\E in \@INC/
37 0 0 unless -d (my $path = catdir($directory, split(/::|'/, $ns, 0)))
42 0 0 if -d catfile(splitdir($path), $file)
44 0 0 unless $found{$class}++