| 1 | 2 | ▶ | use 5.14.0; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | package Dist::Zilla::MintingProfile::Iller::CSSON; | ||||||||||
| 6 | |||||||||||
| 7 | # ABSTRACT: Minting profile | ||||||||||
| 8 | 2 | our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY | |||||||||
| 9 | 2 | our $VERSION = '0.0102'; | |||||||||
| 10 | |||||||||||
| 11 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 2 | with 'Dist::Zilla::Role::MintingProfile'; | |||||||||
| 13 | 2 | ▶ | use File::ShareDir; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 14 | 2 | ▶ | use Path::Class; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | 2 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | 2 | ▶ | use namespace::autoclean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | |||||||||||
| 18 | 0 | ▶ | sub profile_dir { | ||||||||
|
Subroutine
profile_dir: not called CC=2 SCAR=17.9
| |||||||||||
| 19 | 0 | my $self = shift; | |||||||||
| 20 | 0 | my $profile_name = shift; | |||||||||
| 21 | |||||||||||
| 22 | 0 | my $dist_name = 'Dist-Zilla-MintingProfile-Iller-CSSON'; | |||||||||
| 23 | 0 | my $profile_dir = dir(File::ShareDir::dist_dir($dist_name))->subdir($profile_name); | |||||||||
| 24 | |||||||||||
| 25 | 0 | ▶ | return $profile_dir if -d $profile_dir; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | |||||||||||
| 27 | 0 | confess "Can't find profile $profile_name in $profile_dir"; | |||||||||
| 28 | } | ||||||||||
| 29 | |||||||||||
| 30 | 2 | __PACKAGE__->meta->make_immutable; | |||||||||
| 31 | |||||||||||
| 32 | 2 | 1; | |||||||||
| 33 | |||||||||||
| 34 | __END__ | ||||||||||