Condition Coverage

blib/lib/CPAN/Module.pm
Criterion Covered Total %
condition 6 91 6.5


and 3 conditions

line !l l&&!r l&&r condition
73 0 0 0 exists $self->{'incommandcolor'} and $color == 1
0 0 0 exists $self->{'incommandcolor'} and $color == 1 and $self->{'incommandcolor'} == $color
74 0 0 0 $color == 0 and not $self->{'incommandcolor'}
134 0 0 0 $CPAN::Shell::COLOR_REGISTERED and $CPAN::META->has_inst("Term::ANSIColor")
0 0 0 $CPAN::Shell::COLOR_REGISTERED and $CPAN::META->has_inst("Term::ANSIColor") and $self->description
196 0 0 0 $ro and $ro->{'statd'}
272 0 0 0 $dist->{'build_dir'} and -f ($mff = "File::Spec"->catfile($dist->{'build_dir'}, "MANIFEST"))
0 0 0 $dist->{'build_dir'} and -f ($mff = "File::Spec"->catfile($dist->{'build_dir'}, "MANIFEST")) and $mfh = "FileHandle"->new($mff)
290 0 0 0 length $lfre > 5 and not $lfl
313 0 0 0 exists $self->{$item} and @{$self->{$item};}
321 0 0 0 $available_file and $available_file ne $local_file
370 19 0 1 $ro and defined $ro->{'CPAN_FILE'}
380 0 0 0 defined $fullname and defined $email
457 0 0 0 exists $self->{'notest'} and $self->{'notest'}
463 0 0 0 $pack->{'reqtype'} eq "b" and $self->{'reqtype'} =~ /^[rc]$/
465 0 0 0 exists $pack->{'install'} and UNIVERSAL::can($pack->{'install'}, "failed") ? $pack->{'install'}->failed : $pack->{'install'} =~ /^NO/
487 0 0 0 $pack->can("unforce") and exists $self->{'force_update'}
488 0 0 0 $pack->can("unnotest") and exists $self->{'notest'}
519 0 0 1 $CPAN::META->has_inst("Module::CoreList") and "Module::CoreList"->can("is_deprecated")
529 1 0 0 $self->deprecated_in_core && $self->_in_priv_or_arch($inst_file)
573 0 0 0 $self->uptodate and not exists $self->{'force_update'}
585 0 0 0 $ro and $ro->{'stats'}
0 0 0 $ro and $ro->{'stats'} and $ro->{'stats'} eq "a"
624 0 2 0 @packpath == 1 and $packpath[0] eq "readline.pm"

or 2 conditions

line l !l condition
66 0 0 shift() || 0
67 0 0 shift() || 0
68 0 0 shift() || []
315 0 0 $local_file || '(not installed)'
459 0 0 $pack->{'reqtype'} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
23 0 0 0 $ro->{'userid'} || $ro->{'CPAN_USERID'}
435 0 0 0 $cpan_file eq "N/A" or $cpan_file =~ /^Contact Author/
538 0 0 1 "CPAN::Version"->vgt($cpan, $inst) or $self->inst_deprecated