Branch Coverage

blib/lib/inc/Module/Install.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
71 0 0 unless $cpan_version = _check_update_local($modified_at)
75 0 0 if $cpan_version > $inc::Module::Install::VERSION
86 0 0 unless eval 'require Compress::Zlib; 1'
87 0 0 unless _require_myconfig_or_config()
93 0 0 unless -f $file
96 0 0 unless my $gz = Compress::Zlib::gzopen($file, 'r')
99 0 0 unless my($cpan_version) = $line =~ /^Module::Install\s+(\S+)/
107 0 0 if $INC{'CPAN/MyConfig.pm'}
109 0 0 unless my $home = _home()
111 0 0 unless -d $cpan_dir
114 0 0 if ($@ and not $@ =~ m[locate CPAN/MyConfig\.pm])
118 0 0 if $INC{'CPAN/MyConfig.pm'}
121 0 0 if ($@ and not $@ =~ m[locate CPAN/Config\.pm])
125 0 0 if $INC{'CPAN/Config.pm'}
132 0 0 if (eval { do { require File::HomeDir; 1 } })
133 0 0 'File::HomeDir'->can('my_dot_config') ? :
136 0 0 unless (defined $home)
140 0 0 unless (defined $home)