Condition Coverage

blib/lib/Distribution/Metadata.pm
Criterion Covered Total %
condition 12 42 28.5


and 3 conditions

line !l l&&!r l&&r condition
112 0 0 0 $piece[$i] eq $ARCHNAME and $piece[$i + 1] eq 'auto'
144 21 6 0 -d $archlib and not $incs{$archlib}
169 0 0 0 $CACHE and $Distribution::Metadata::CACHE->{'install_json_collected'}{$dir}
201 0 0 0 $provide eq $module and ($provides->{$provide}{'version'} || '') eq $version
261 2 1 1 $CACHE and my $core_packlist = $Distribution::Metadata::CACHE->{'core_packlist'}
278 2 1 0 $CACHE and $Distribution::Metadata::CACHE->{'packlist_collected'}

or 2 conditions

line l !l condition
37 5 3 $option{'inc'} || \@INC
178 0 0 $Distribution::Metadata::CACHE->{'install_json'}{$dir}{$_} ||= undef
197 0 0 $hash->{'name'} || ''
199 0 0 $hash->{'provides'} || {}
201 0 0 $provides->{$provide}{'version'} || ''
291 0 68 $Distribution::Metadata::CACHE->{'packlist'}{$_} ||= undef

or 3 conditions

line l !l&&r !l&&!r condition
159 0 0 0 $Distribution::Metadata::CACHE->{'install_json'}{$dir}{$file} ||= &$decode_install_json($file)
242 1 1 0 $Distribution::Metadata::CACHE->{'packlist'}{$packlist} ||= &$extract_files($packlist)
329 0 0 0 $self->{'mymeta_json_hash'} ||= 'CPAN::Meta'->load_file($mymeta_json)->as_struct
335 0 0 0 $self->{'_distnameinfo'} ||= 'CPAN::DistnameInfo'->new($hash->{'pathname'})