Branch Coverage

blib/lib/UNIVERSAL/require.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
82 0 10 if ref $module
85 1 9 unless $module =~ /\A$module_name_rx\z/
87 0 9 if @_ > 2
98 3 6 if $INC{$file}
106 2 4 unless ($return)
112 2 2 if (@_ == 2)
117 1 1 unless (eval qq[\n#line $call_line "$call_file"\n\$module->VERSION($want_version);\n1;\n])
149 1 3 unless my $return = $module->require
158 1 2 unless (eval qq[\npackage $call_package;\n#line $call_line "$call_file"\n\$module->import(\@imports);\n1;\n])