lib/CPANPLUS/Config/YACSmoke.pm

filter: Statementstmt 100% 11 / 11 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 17 / 17 SCAR 6.9
CC
2
Cov
100%
setup
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« blib/lib/CPANPLUS/Config/YACSmoke.pm ↑ Summary Makefile.PL »
1 package CPANPLUS::Config::YACSmoke;
2 3 $CPANPLUS::Config::YACSmoke::VERSION = '1.06';
3 # Dist::Zilla: +PodWeaver
4 #ABSTRACT: Set the environment for YACSmoking
5  
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use File::Spec;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub setup {
10 2 ▶ my $conf = shift;
Subroutine setup: called CC=2 SCAR=6.9
Pod documented
11 $conf->set_conf( base => File::Spec->catdir( $ENV{PERL5_YACSMOKE_BASE}, '.cpanplus' ) )
12 2 ▶ if $ENV{PERL5_YACSMOKE_BASE};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"PERL5_YACSMOKE_BASE"} 1 1 2
13 2 return 1;
14 }
15  
16 3 'YACSmoking';
17  
18 __END__
« blib/lib/CPANPLUS/Config/YACSmoke.pm ↑ Summary Makefile.PL »