blib/lib/Dist/Zilla/PluginBundle/CEBJYRE.pm

filter: Statementstmt 96.5% 56 / 58 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 16 / 16 Podpod 100% 1 / 1 totaltotal 97.3% 73 / 75 CC 1 SCAR 0.0
CC
1
Cov
97%
configure
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Dist::Zilla::PluginBundle::CEBJYRE;
4 {
5 1 $Dist::Zilla::PluginBundle::CEBJYRE::VERSION = '0.4.0';
6 }
7  
8 # ABSTRACT: My default dzil plugins
9  
10 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 with 'Dist::Zilla::Role::PluginBundle::Easy';
12  
13  
14 1 ▶use Dist::Zilla::Plugin::PkgVersion;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use Dist::Zilla::Plugin::AutoPrereqs;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use Dist::Zilla::Plugin::PodWeaver;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶use Dist::Zilla::Plugin::PodCoverageTests;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use Dist::Zilla::Plugin::PodSyntaxTests;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use Dist::Zilla::Plugin::NextRelease;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use Dist::Zilla::Plugin::CheckPrereqsIndexed;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use Dist::Zilla::Plugin::MetaJSON;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use Dist::Zilla::PluginBundle::Filter;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Dist::Zilla::PluginBundle::Basic;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Dist::Zilla::PluginBundle::Git;
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 1 ▶sub configure {
Subroutine configure: called CC=1 SCAR=0.2
Pod documented
27 1 my $self = shift;
28 1 my $payload = $self->payload;
29  
30 1 $self->add_plugins(
31 [AutoPrereqs => $self->config_slice({prereq_skip => 'skip'})],
32 qw(
33 PkgVersion
34 PodWeaver
35 PodCoverageTests
36 PodSyntaxTests
37 NextRelease
38 CheckPrereqsIndexed
39 MetaJSON
40 ));
41  
42 1 $self->add_bundle(Filter => {-bundle => '@Basic', -remove => ['MetaYAML']});
43 0 my %git_config = map {substr($_, 4) => $payload->{$_}} grep {/^git_/} keys %$payload;
44 1 $self->add_bundle(Git => \%git_config);
45 }
46  
47 1 __PACKAGE__->meta->make_immutable;
48 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
49  
50 1 1;
51  
52 __END__
↑ Summary