Branch Coverage

blib/lib/Module/Runtime.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
137 22 4 if (exists $export_ok{$_}) { }
140 3 19 if (/\A\$(.*)\z/s) { }
149 3 12 if ($errs ne '')
219 139 12 if &_is_string($_[0])
238 12 122 unless (&is_module_name)
239 6 6 &_is_string($_[0]) ? :
289 0 11 "$]" < 5.011 && !("$]" >= 5.009004 && "$]" < 5.010001) ? :
290 0 11 "$]" < 5.009 ? :
346 5 8 if @_ >= 2
392 13 2 if $@ ne '' and !($@ =~ m[\ACan't locate \Q$fn\E .+ at \Q@{['/root/.cpan/build/Module-Runtime-0.016-0/blib/lib/Module/Runtime.pm'];}\E line]s) || $@ =~ m[^Compilation\ failed\ in\ require \ at\ \Q@{['/root/.cpan/build/Module-Runtime-0.016-0/blib/lib/Module/Runtime.pm'];}\E\ line]mx
396 10 14 if @_ >= 2
439 28 38 unless (&is_module_spec)
440 16 12 &_is_string($_[1]) ? :
468 8 8 if defined $prefix
470 8 8 if ($spec =~ s[\A(?:/|::)][]) { }
473 4 4 if defined $prefix