lib/Dist/Zilla/MintingProfile/CSJEWELL.pm

filter: Statementstmt 72.2% 13 / 18 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 59.2% 16 / 27 CC 3 SCAR 18.7
CC
3
Cov
59%
__ANON__
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 6.5
« lib/Dist/Zilla/Plugin/CSJEWELL/ReleaseStatusFromMetaJSON.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.993';
8  
9 0 ▶around 'profile_dir' => sub {
Subroutine __ANON__: not called CC=3 SCAR=24.8
10 0 my ($orig, $self, $profile_name) = @_;
11  
12 0 ▶ if ('default' eq $profile_name) { undef $profile_name; }
Branch: 1 branch
BranchTrueFalseTotal
if ("default" eq $profile_name) 0 0 0
13  
14 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
15  
16 0 return $self->$orig($profile_name);
17 1 };
18  
19 1 __PACKAGE__->meta->make_immutable;
20 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 1;
22  
23 __END__
« lib/Dist/Zilla/Plugin/CSJEWELL/ReleaseStatusFromMetaJSON.pm ↑ Summary lib/Dist/Zilla/App/Command/configure_CSJEWELL.pm »