lib/Dist/Zilla/PluginBundle/CSJEWELL.pm

filter: Statementstmt 70.0% 14 / 20 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 1 totaltotal 56.6% 17 / 30 CC 3 SCAR 13.5
CC
3
Cov
58%
__ANON__
6.0
configure
6.0
BEGIN
1.0
CRAP 3.9
« lib/Dist/Zilla/App/Command/configure_CSJEWELL.pm ↑ Summary lib/Dist/Zilla/Plugin/CSJEWELL/SubversionDist.pm »
1 package Dist::Zilla::PluginBundle::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::PluginBundle::Easy';
6  
7 1 our $VERSION = '0.900';
8 1 $VERSION =~ s/_//sm;
9  
10 has fake_release => (
11 is => 'ro',
12 isa => 'Bool',
13 lazy => 1,
14 0 ▶ default => sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
15 exists $_[0]->payload->{fake_release}
16 ? $_[0]->payload->{fake_release}
17 0 ▶ : 1;
Branch: 1 branch
BranchTrueFalseTotal
exists $_[0]->payload->{'fake_release'} ? : 0 0 0
18 },
19 1 );
20  
21 0 ▶sub configure {
Subroutine configure: not called CC=2 SCAR=17.9
Pod undocumented
22 0 my ($self) = @_;
23  
24 0 my @plugins = qw(
25 CSJEWELL::BeforeBuild
26 GatherDir
27 ManifestSkip
28 CSJEWELL::VersionGetter
29 CSJEWELL::AuthorTest
30  
31 TestRelease
32 ConfirmRelease
33 );
34  
35 0 ▶ push @plugins,
Branch: 1 branch
BranchTrueFalseTotal
$self->fake_release ? : 0 0 0
36 ( $self->fake_release() ? 'FakeRelease' : 'UploadToCPAN' );
37  
38 0 $self->add_plugins(@plugins);
39  
40 0 return $self;
41 } ## end sub configure
42  
43 1 __PACKAGE__->meta()->make_immutable();
44 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
45 1 1;
46  
47 __END__
« lib/Dist/Zilla/App/Command/configure_CSJEWELL.pm ↑ Summary lib/Dist/Zilla/Plugin/CSJEWELL/SubversionDist.pm »