Condition Coverage

blib/lib/CPAN/InGit/ArchiveTree.pm
Criterion Covered Total %
condition 17 55 30.9


and 3 conditions

line !l l&&!r l&&r condition
63 1 0 0 $self->config_blob and $self->config_blob->content eq $json
142 1 2 4 defined $mod_ver and defined $reqs
224 2 0 0 defined $have_ver and $reqs->accepts_module($mod, $have_ver)
2 0 0 defined $corelist->{$mod} and $reqs->accepts_module($mod, $corelist->{$mod})
261 0 0 1 $sources and @$sources
266 1 0 0 ref $_ and $_->can("package_details")
271 1 0 0 $t->can("autofetch") and $t->autofetch
283 0 0 0 builtin::blessed($reqs) && $reqs->isa('CPAN::Meta::Requirements')
0 0 0 builtin::blessed($reqs) && $reqs->isa('CPAN::Meta::Prereqs')
371 0 0 0 $sources and @$sources
376 0 0 0 ref $_ and $_->can("package_details")
381 0 0 0 $t->can("autofetch") and $t->autofetch

or 2 conditions

line l !l condition
60 0 1 $self->config // {}
112 0 3 $self->canonical_url // "cpan_mirror_ingit.local"
134 2 1 $_->[1] // "undef"
248 0 1 $before->{$mod} // ""
1 0 $after->{$mod} // 0

or 3 conditions

line l !l&&r !l&&!r condition
260 0 1 0 $options{'sources'} // $self->default_import_sources
290 0 1 0 $options{'corelist_perl_version'} // $self->corelist_perl_version
370 0 0 0 $options{'sources'} // $self->default_import_sources