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
71 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'}
129 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
191 0 0 0 $ro and $$ro{'statd'}
267 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)
285 0 0 0 length $lfre > 5 and not $lfl
308 0 0 0 exists $$self{$item} and @{$$self{$item};}
316 0 0 0 $available_file and $available_file ne $local_file
365 19 0 1 $ro and defined $$ro{'CPAN_FILE'}
375 0 0 0 defined $fullname and defined $email
452 0 0 0 exists $$self{'notest'} and $$self{'notest'}
458 0 0 0 $$pack{'reqtype'} eq 'b' and $$self{'reqtype'} =~ /^[rc]$/
460 0 0 0 exists $$pack{'install'} and UNIVERSAL::can($$pack{'install'}, 'failed') ? $$pack{'install'}->failed : $$pack{'install'} =~ /^NO/
482 0 0 0 $pack->can('unforce') and exists $$self{'force_update'}
483 0 0 0 $pack->can('unnotest') and exists $$self{'notest'}
514 0 0 1 $CPAN::META->has_inst('Module::CoreList') and 'Module::CoreList'->can('is_deprecated')
524 1 0 0 $self->deprecated_in_core && $self->_in_priv_or_arch($inst_file)
568 0 0 0 $self->uptodate and not exists $$self{'force_update'}
580 0 0 0 $ro and $$ro{'stats'}
0 0 0 $ro and $$ro{'stats'} and $$ro{'stats'} eq 'a'
619 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() || []
310 0 0 $local_file || '(not installed)'
454 0 0 $$pack{'reqtype'} ||= ''

or 3 conditions

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