blib/lib/CPAN/Mini.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 58 | 12.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
238 | 0 | 0 | 0 | $header eq "File" and $value eq '02packages.details.txt' || $value eq '02packages.details.txt.gz' |
300 | 0 | 9 | 0 | -e $self->{'local'} and not -d $self->{'local'} |
458 | 0 | 0 | 0 | $skip_if_present and -f $local_file |
618 | 0 | 0 | 0 | $self->{'ignore_source_control'} and exists $Source_control_files{$basename} |
626 | 0 | 0 | 0 | -f $file and not $self->{'mirrored'}{$file} |
826 | 1 | 7 | 8 | defined $config_file && -e $config_file |
855 | 0 | 0 | 0 | not $quiet and $orig_remote |
883 | 0 | 0 | 0 | ref $CPAN::Config->{'urllist'} eq "ARRAY" and $CPAN::Config->{'urllist'}[0] |
910 | 0 | 0 | 0 | ref $hosts eq "ARRAY" and $hosts->[0] |
line | l | !l | condition |
---|---|---|---|
443 | 0 | 0 | $arg ||= {} |
458 | 0 | 0 | $self->{'mirrored'}{$local_file} || 0 |
460 | 0 | 0 | $self->{'mirrored'}{$local_file} ||= 1 |
477 | 0 | 0 | $@ || '(unknown error)' |
678 | 0 | 0 | $arg ||= {} |
700 | 0 | 8 | $_[0]->log_level || '' |
748 | 2 | 0 | $options->{'log_level'} || 'info' |
914 | 0 | 0 | $url_parts->{'path'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
181 | 0 | 0 | 0 | $self->{'force'} or $self->{'changes_made'} |
238 | 0 | 0 | 0 | $value eq '02packages.details.txt' || $value eq '02packages.details.txt.gz' |
362 | 0 | 0 | 0 | $self->{'scratch'} ||= File::Temp::tempdir("CLEANUP", 1) |
396 | 0 | 0 | 0 | $base_dir ||= $self->_scratch_dir |
718 | 18 | 0 | 0 | 'File::HomeDir'->my_home || $ENV{'HOME'} |