Condition Coverage

lib/Module/Load/Conditional.pm
Criterion Covered Total %
condition 19 52 36.5


and 3 conditions

line !l l&&!r l&&r condition
195 0 0 2 defined $filename and $Module::Load::Conditional::FIND_VERSION
205 19 0 0 $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.'
283 2 14 4 $Module::Load::Conditional::FIND_VERSION and not defined $href->{'version'}
289 4 0 0 $args->{'verbose'} and $args->{'version'} > 0
318 20 0 0 $Module::Load::Conditional::DEPRECATED and "$]" >= 5.011
319 0 0 0 $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.'
328 0 0 0 exists $Module::CoreList::version{0 + $]}{$args->{'module'}} and Module::CoreList::is_deprecated($args->{'module'})
0 0 0 exists $Module::CoreList::version{0 + $]}{$args->{'module'}} and Module::CoreList::is_deprecated($args->{'module'}) and $Config::Config{'privlibexp'} eq $href->{'dir'}
0 0 0 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'}
414 7 0 1 $Module::Load::Conditional::CACHE->{$mod}{'usable'} and not $args->{'nocache'}
427 0 6 1 not $args->{'nocache'} and defined $Module::Load::Conditional::CACHE->{$mod}{'usable'}
6 1 0 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 0 7 $mod_data and defined $mod_data->{'file'}
458 5 0 0 $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.'
525 1 0 0 $Module::Load::Conditional::FORCE_SAFE_INC and $INC[-1] eq '.'

or 2 conditions

line l !l condition
405 6 1 $Module::Load::Conditional::CACHE ||= {}
427 1 0 $Module::Load::Conditional::CACHE->{$mod}{'version'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
233 0 0 0 $INC{$file_inc} || $file