lib/Dist/Zilla/MintingProfile/CSJEWELL.pm

filter: Statementstmt 73.6% 14 / 19 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 60.7% 17 / 28 CC 3 SCAR 18.7
CC
3
Cov
61%
__ANON__
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 6.5
« lib/Dist/Zilla/Plugin/CSJEWELL/FTPUploadToOwnSite.pm ↑ Summary lib/Dist/Zilla/App/Command/configure_CSJEWELL.pm »
1 package Dist::Zilla::MintingProfile::CSJEWELL;
2  
3 1 ▶use 5.008003;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 with 'Dist::Zilla::Role::MintingProfile::ShareDir';
6  
7 1 our $VERSION = '0.900';
8 1 $VERSION =~ s/_//sm;
9  
10 0 ▶around 'profile_dir' => sub {
Subroutine __ANON__: not called CC=3 SCAR=24.8
11 0 my ( $orig, $self, $profile_name ) = @_;
12  
13 0 ▶ if ( 'default' eq $profile_name ) { undef $profile_name; }
Branch: 1 branch
BranchTrueFalseTotal
if ("default" eq $profile_name) 0 0 0
14  
15 0 ▶ $profile_name ||= 'csjewell';
Condition0%0/2
$profile_name ||= "csjewell"
l!l
00
MC/DC0%0/1
$profile_name ||= "csjewell"
$profile_name
Truth table0%0/2
A
A= $profile_name
Aresult
11
00
16  
17 0 return $self->$orig($profile_name);
18 1 };
19  
20 1 __PACKAGE__->meta()->make_immutable();
21 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 1;
23  
24 __END__
« lib/Dist/Zilla/Plugin/CSJEWELL/FTPUploadToOwnSite.pm ↑ Summary lib/Dist/Zilla/App/Command/configure_CSJEWELL.pm »