« 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
| |||||||||||||
| 13 | |||||||||||||
| 14 | 0 | ▶ | $profile_name ||= 'csjewell'; | ||||||||||
|
Condition0%0/2
$profile_name ||= "csjewell"
MC/DC0%0/1
$profile_name ||= "csjewell"
$profile_name
Truth table0%0/2
A
A= $profile_name
| |||||||||||||
| 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__ | ||||||||||||