Condition Coverage

blib/lib/CPAN/Mini/Inject.pm
Criterion Covered Total %
condition 15 32 46.8


or 2 conditions

line l !l condition
226 0 1 $options{'trace'} ||= 0
227 0 1 $self->config->get('perl') || 1
349 7 4 $self->{'added_modules'} ||= []
381 1 0 $self->{'added_modules'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
225 1 0 0 $options{'local'} ||= $self->config->get("local")
227 0 1 0 $options{'skip_perl'} ||= $self->config->get('perl') || 1
230 0 1 0 $self->site or $options{'remote'}
231 1 0 0 $options{'remote'} ||= $self->site
233 1 0 0 $self->config->get('dirmode') || sprintf('0%o', 511 & ~(umask))
0 1 0 $options{'dirmode'} ||= oct($self->config->get('dirmode') || sprintf('0%o', 511 & ~(umask)))
311 1 7 0 $$packages{$options{'module'}} ||= $options{'version'}
546 1 1 0 -w $self->{'config'}{'repository'} . "/modulelist" or -w $self->{'config'}{'repository'}