blib/lib/Dist/Zilla/PluginBundle/Author/DOMM.pm

filter: Statementstmt 96.4% 110 / 114 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 92.1% 35 / 38 Podpod 0.0% 0 / 1 totaltotal 92.3% 145 / 157 CC 3 SCAR 6.3
CC
3
Cov
93%
configure
12.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary
1 package Dist::Zilla::PluginBundle::Author::DOMM;
2  
3 # ABSTRACT: Dist::Zilla config suiting my needs
4  
5 1 our $VERSION = '0.912'; # VERSION
6  
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 with qw(
10 Dist::Zilla::Role::PluginBundle::Easy
11 Dist::Zilla::Role::PluginBundle::PluginRemover
12 Dist::Zilla::Role::PluginBundle::Config::Slicer
13 );
14  
15 1 ▶use Dist::Zilla::Plugin::Git::GatherDir;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use Dist::Zilla::Plugin::PruneCruft;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶use Dist::Zilla::Plugin::ManifestSkip;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use Dist::Zilla::Plugin::License;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use Dist::Zilla::Plugin::MetaNoIndex;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use Dist::Zilla::Plugin::MetaProvides::Package;
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::Plugin::ModuleBuild;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Dist::Zilla::Plugin::Manifest;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Dist::Zilla::Plugin::AutoPrereqs;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 ▶use Dist::Zilla::Plugin::CPANFile;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 1 ▶use Dist::Zilla::Plugin::ExecDir;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 1 ▶use Dist::Zilla::Plugin::ShareDir;
Subroutine BEGIN: called CC=1 SCAR=0.0
28 1 ▶use Dist::Zilla::Plugin::ExtraTests;
Subroutine BEGIN: called CC=1 SCAR=0.0
29 1 ▶use Dist::Zilla::Plugin::CheckChangesHasContent;
Subroutine BEGIN: called CC=1 SCAR=0.0
30 1 ▶use Dist::Zilla::Plugin::NextRelease;
Subroutine BEGIN: called CC=1 SCAR=0.0
31 1 ▶use Dist::Zilla::Plugin::OurPkgVersion;
Subroutine BEGIN: called CC=1 SCAR=0.0
32 1 ▶use Dist::Zilla::Plugin::PodWeaver;
Subroutine BEGIN: called CC=1 SCAR=0.0
33 1 ▶use Dist::Zilla::Plugin::InstallGuide;
Subroutine BEGIN: called CC=1 SCAR=0.0
34 1 ▶use Dist::Zilla::Plugin::Test::Compile;
Subroutine BEGIN: called CC=1 SCAR=0.0
35 1 ▶use Dist::Zilla::Plugin::TestRelease;
Subroutine BEGIN: called CC=1 SCAR=0.0
36 1 ▶use Dist::Zilla::Plugin::ReadmeAnyFromPod;
Subroutine BEGIN: called CC=1 SCAR=0.0
37 1 ▶use Dist::Zilla::Plugin::CopyFilesFromBuild;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 1 ▶use Dist::Zilla::Plugin::GithubMeta;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 ▶use Dist::Zilla::Plugin::SourceHutMeta;
Subroutine BEGIN: called CC=1 SCAR=0.0
40 1 ▶use Dist::Zilla::Plugin::Git::Check;
Subroutine BEGIN: called CC=1 SCAR=0.0
41 1 ▶use Dist::Zilla::Plugin::ConfirmRelease;
Subroutine BEGIN: called CC=1 SCAR=0.0
42 1 ▶use Dist::Zilla::Plugin::UploadToCPAN;
Subroutine BEGIN: called CC=1 SCAR=0.0
43 1 ▶use Dist::Zilla::Plugin::Git::Commit;
Subroutine BEGIN: called CC=1 SCAR=0.0
44 1 ▶use Dist::Zilla::Plugin::Git::NextVersion;
Subroutine BEGIN: called CC=1 SCAR=0.0
45 1 ▶use Dist::Zilla::Plugin::Git::Tag;
Subroutine BEGIN: called CC=1 SCAR=0.0
46 1 ▶use Dist::Zilla::Plugin::Git::Push;
Subroutine BEGIN: called CC=1 SCAR=0.0
47 1 ▶use Dist::Zilla::Plugin::Clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
48  
49 has homepage => (
50 is => 'ro' ,
51 isa => 'Maybe[Str]' ,
52 lazy => 1 ,
53 0 ▶ default => sub { $_[0]->payload->{homepage} } ,
Subroutine __ANON__: not called CC=1 SCAR=6.9
54 1 );
55  
56 has bugtracker => (
57 is => 'ro' ,
58 isa => 'Maybe[Str]' ,
59 lazy => 1,
60 0 ▶ default => sub { $_[0]->payload->{bugtracker} } ,
Subroutine __ANON__: not called CC=1 SCAR=6.9
61 1 );
62  
63 0 ▶sub configure {
Subroutine configure: not called CC=3 SCAR=24.8
Pod undocumented
64 0 my $self = shift;
65  
66 0 ▶ $self->add_plugins(
Branch: 2 branches
BranchTrueFalseTotal
$self->homepage ? : 0 0 0
$self->homepage ? : 0 0 0
67 [ 'Git::GatherDir' =>
68 { exclude_filename => [qw/README.pod META.json cpanfile LICENSE/] }],
69 'PruneCruft',
70 'ManifestSkip',
71 'License',
72 [ MetaNoIndex => {
73 directory => [qw/t xt examples/],
74 }],
75 ['MetaProvides::Package' => { meta_noindex => 1 } ],
76 'MetaJSON',
77 'ModuleBuild',
78 'Manifest',
79 ['AutoPrereqs' => {skips=>['^strict$','^warnings$', '^utf8$']}],
80 'CPANFile',
81 'ExecDir',
82 'ShareDir',
83 'ExtraTests',
84 'CheckChangesHasContent',
85 ['NextRelease' => {
86 format=>'%-9v %{yyyy-MM-dd HH:mm:ssZZZZZ}d%{ (TRIAL RELEASE)}T',
87 }],
88 'OurPkgVersion',
89 'PodWeaver',
90 'InstallGuide',
91 ['Test::Compile' => {
92 fake_home => 1,
93 fail_on_warning=>'none',
94 }],
95 'TestRelease',
96 [ 'ReadmeAnyFromPod' => { # TODO escaping of '::' in metacpan urls in readme
97 type=>'markdown',
98 filename=>'README.md',
99 location=>'build',
100 }],
101 [ 'CopyFilesFromBuild' => { copy => ['README.md', 'cpanfile', 'LICENSE'] } ],
102 # TODO default homepage should be metacpan!
103 ['GithubMeta' => {
104 issues=>1,
105 ($self->homepage ? (homepage => $self->homepage) : ()),
106 }],
107 ['SourceHutMeta' => {
108 bugtracker => $self->bugtracker,
109 ($self->homepage ? (homepage => $self->homepage) : ()),
110 }],
111 [ 'Git::Check' => {
112 allow_dirty => [qw/dist.ini Changes README.md cpanfile/]
113 }],
114 'ConfirmRelease',
115 'UploadToCPAN',
116 [ 'Git::Commit' => 'Commit_Dirty_Files' => {
117 allow_dirty => [qw/dist.ini Changes README.md/],
118 commit_msg => 'Release %V'
119 }],
120 ['Git::NextVersion' => {
121 first_version => '0.900',
122 version_regexp => '^(\d+\..+)$',
123 }],
124 ['Git::Tag' => {
125 tag_format => '%v',
126 tag_message => 'release %v',
127 }],
128 [ 'Git::Push' => { push_to => ['origin'] } ],
129 'Clean',
130 );
131 }
132  
133 1 q{ listening to: FM4 Jahrescharts 2020};
134  
135 __END__
↑ Summary