lib/CPANPLUS/Config/HomeEnv.pm

filter: Statementstmt 100% 14 / 14 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 95.2% 20 / 21 SCAR 6.9
CC
2
Cov
94%
setup
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« blib/lib/CPANPLUS/Internals/Utils/Autoflush.pm ↑ Summary Makefile.PL »
1 package CPANPLUS::Config::HomeEnv;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use File::Spec;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use vars qw($VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 $VERSION = "0.9912";
8  
9 sub setup {
10 2 ▶ my $conf = shift;
Subroutine setup: called CC=2 SCAR=7.1
Pod documented
11 $conf->set_conf( base => File::Spec->catdir( $ENV{PERL5_CPANPLUS_HOME}, '.cpanplus' ) )
12 2 ▶ if $ENV{PERL5_CPANPLUS_HOME};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"PERL5_CPANPLUS_HOME"} 0 2 2
13 2 return 1;
14 }
15  
16 2 qq'Wherever I hang my hat is home';
17  
18 __END__
« blib/lib/CPANPLUS/Internals/Utils/Autoflush.pm ↑ Summary Makefile.PL »