| line |
true |
false |
branch |
|
17
|
0 |
1 |
$^O eq 'MSWin32' ? : |
|
170
|
0 |
21 |
unless ($args = check($tmpl, \%hash, $Module::Load::Conditional::VERBOSE)) |
|
171
|
0 |
0 |
if $Module::Load::Conditional::VERBOSE |
|
190
|
2 |
19 |
if ($Module::Load::Conditional::CHECK_INC_HASH) |
|
192
|
2 |
0 |
if defined $INC{$file_inc} |
|
195
|
2 |
0 |
if (defined $filename and $Module::Load::Conditional::FIND_VERSION) |
|
203
|
19 |
2 |
unless ($filename) |
|
205
|
0 |
19 |
if $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.' |
|
211
|
0 |
83 |
if (ref $dir) { } |
|
217
|
0 |
0 |
if (UNIVERSAL::isa($dir, 'CODE')) { } |
|
|
0 |
0 |
elsif (UNIVERSAL::isa($dir, 'ARRAY')) { } |
|
|
0 |
0 |
elsif (UNIVERSAL::can($dir, 'INC')) { } |
|
227
|
0 |
0 |
unless (UNIVERSAL::isa($fh, 'GLOB')) |
|
229
|
0 |
0 |
if $args->{'verbose'} |
|
235
|
0 |
0 |
unless $existed_in_inc |
|
239
|
65 |
18 |
unless -e $filename |
|
242
|
0 |
18 |
unless ($fh->open($filename)) |
|
244
|
0 |
0 |
if $args->{'verbose'} |
|
259
|
2 |
16 |
unless $Module::Load::Conditional::FIND_VERSION |
|
270
|
12 |
4 |
if (defined $ver) |
|
280
|
1 |
20 |
unless defined $href->{'file'} |
|
283
|
4 |
16 |
if ($Module::Load::Conditional::FIND_VERSION and not defined $href->{'version'}) { } |
|
289
|
0 |
4 |
if $args->{'verbose'} and $args->{'version'} > 0 |
|
312
|
12 |
4 |
'version'->new($args->{'version'}) <= 'version'->new($href->{'version'}) ? : |
|
318
|
0 |
20 |
if ($Module::Load::Conditional::DEPRECATED and "$]" >= 5.011) |
|
319
|
0 |
0 |
if $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.' |
|
328
|
0 |
0 |
if exists $Module::CoreList::version{0 + $]}{$args->{'module'}} and Module::CoreList::is_deprecated($args->{'module'}) and $Config::Config{'privlibexp'} eq $href->{'dir'} and $Config::Config{'privlibexp'} ne $Config::Config{'sitelibexp'} |
|
390
|
0 |
7 |
unless ($args = check($tmpl, \%hash, $Module::Load::Conditional::VERBOSE)) |
|
392
|
0 |
0 |
if $Module::Load::Conditional::VERBOSE |
|
414
|
1 |
7 |
if $Module::Load::Conditional::CACHE->{$mod}{'usable'} and not $args->{'nocache'} |
|
427
|
0 |
7 |
if (not $args->{'nocache'} and defined $Module::Load::Conditional::CACHE->{$mod}{'usable'} and 'version'->new($Module::Load::Conditional::CACHE->{$mod}{'version'} || 0) >= 'version'->new($href->{$mod})) |
|
441
|
0 |
7 |
unless ($mod_data and defined $mod_data->{'file'}) |
|
456
|
5 |
2 |
if ($Module::Load::Conditional::CACHE->{$mod}{'uptodate'}) { } |
|
458
|
0 |
5 |
if $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.' |
|
460
|
1 |
4 |
if ($args->{'autoload'}) { } |
|
469
|
0 |
5 |
if ($@) { } |
|
489
|
2 |
5 |
if (defined $error) { } |
|
491
|
0 |
2 |
if $args->{'verbose'} |
|
520
|
0 |
1 |
unless (check_install('module', $who)) |
|
521
|
0 |
0 |
if $Module::Load::Conditional::VERBOSE |
|
525
|
0 |
1 |
if $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.' |