Branch Coverage

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


line true false branch
140 22 4 if (exists $export_ok{$_}) { }
143 3 19 if (/\A\$(.*)\z/s) { }
152 3 12 if ($errs ne '')
222 139 12 if _is_string($_[0])
241 12 122 unless (&is_module_name)
242 6 6 _is_string($_[0]) ? :
292 0 11 "$]" < 5.011 && !("$]" >= 5.009004 && "$]" < 5.010001) ? :
293 0 11 "$]" < 5.009 ? :
349 5 8 if @_ >= 2
382 13 2 if $@ ne '' and !($@ =~ m[\ACan't locate \Q$fn\E .+ at \Q@{['/.cpan/build/Module-Runtime-0.014-eGwnK1/blib/lib/Module/Runtime.pm'];}\E line]s) || $@ =~ m[^Compilation\ failed\ in\ require \ at\ \Q@{['/.cpan/build/Module-Runtime-0.014-eGwnK1/blib/lib/Module/Runtime.pm'];}\E\ line]mx
386 10 14 if @_ >= 2
429 28 38 unless (&is_module_spec)
430 16 12 _is_string($_[1]) ? :
458 8 8 if defined $prefix
460 8 8 if ($spec =~ s[\A(?:/|::)][]) { }
463 4 4 if defined $prefix