File Coverage

lib/CPANPLUS/Config/YACSmoke.pm
Criterion Covered Total %
statement 9 9 100.0
branch 2 2 100.0
condition n/a
subroutine 3 3 100.0
pod 1 1 100.0
total 15 15 100.0


line stmt bran cond sub pod time code
1             package CPANPLUS::Config::YACSmoke;
2             $CPANPLUS::Config::YACSmoke::VERSION = '1.04';
3             # Dist::Zilla: +PodWeaver
4             #ABSTRACT: Set the environment for YACSmoking
5              
6 2     2   50869 use strict;
  2         6  
  2         64  
7 2     2   10 use File::Spec;
  2         5  
  2         222  
8              
9             sub setup {
10 2     2 1 2043 my $conf = shift;
11             $conf->set_conf( base => File::Spec->catdir( $ENV{PERL5_YACSMOKE_BASE}, '.cpanplus' ) )
12 2 100       31 if $ENV{PERL5_YACSMOKE_BASE};
13 2         310 return 1;
14             }
15              
16             'YACSmoking';
17              
18             __END__