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.08';
3             # Dist::Zilla: +PodWeaver
4             #ABSTRACT: Set the environment for YACSmoking
5              
6 2     2   50402 use strict;
  2         6  
  2         74  
7 2     2   13 use File::Spec;
  2         5  
  2         207  
8              
9             sub setup {
10 2     2 1 1947 my $conf = shift;
11             $conf->set_conf( base => File::Spec->catdir( $ENV{PERL5_YACSMOKE_BASE}, '.cpanplus' ) )
12 2 100       36 if $ENV{PERL5_YACSMOKE_BASE};
13 2         316 return 1;
14             }
15              
16             'YACSmoking';
17              
18             __END__