File Coverage

blib/lib/Pod/Weaver/PluginBundle/BioPerl.pm
Criterion Covered Total %
statement 20 20 100.0
branch n/a
condition n/a
subroutine 10 10 100.0
pod 0 4 0.0
total 30 34 88.2


line stmt bran cond sub pod time code
1             package Pod::Weaver::PluginBundle::BioPerl;
2             $Pod::Weaver::PluginBundle::BioPerl::VERSION = '0.26';
3 1     1   4180872 use utf8;
  1         3  
  1         8  
4              
5             # ABSTRACT: Configure your POD like Bioperl does
6             # AUTHOR: Carnë Draug <carandraug+dev@gmail.com>
7             # OWNER: 2013-2017 Carnë Draug
8             # LICENSE: Perl_5
9              
10 1     1   40 use strict;
  1         2  
  1         21  
11 1     1   5 use warnings;
  1         2  
  1         33  
12 1     1   6 use namespace::autoclean;
  1         3  
  1         12  
13 1     1   76 use Pod::Weaver::Config::Assembler;
  1         2  
  1         364  
14              
15              
16              
17 44     44   1933 sub _exp { Pod::Weaver::Config::Assembler->expand_package($_[0]) }
18              
19             sub mvp_bundle_config {
20             return (
21 2     2 0 1617650 ['@Bioperl/CorePrep', _exp('@CorePrep'), {} ],
22             ['@BioPerl/Name', _exp('Name'), {} ],
23             ['@BioPerl/Version', _exp('Version'), {} ],
24              
25             ['@BioPerl/prelude', _exp('Region'), { region_name => 'prelude' } ],
26              
27             ['SYNOPSIS', _exp('Generic'), {} ],
28             ['DESCRIPTION', _exp('Generic'), {} ],
29             ['OVERVIEW', _exp('Generic'), {} ],
30              
31             ['ATTRIBUTES', _exp('Collect'), { command => 'attr' } ],
32             ['METHODS', _exp('Collect'), { command => 'method' } ],
33             ['FUNCTIONS', _exp('Collect'), { command => 'func' } ],
34             ['INTERNAL METHODS', _exp('Collect'), { command => 'internal' } ],
35              
36             ['@BioPerl/Leftovers', _exp('Leftovers'), {} ],
37              
38             ['@BioPerl/postlude', _exp('Region'), { region_name => 'postlude' } ],
39              
40             ['FEEDBACK', _exp('GenerateSection'), { head => 1 } ],
41             ['Mailing lists', _exp('GenerateSection'), { head => 2, text => fback_lists() } ],
42             ['Support', _exp('GenerateSection'), { head => 2, text => fback_support() } ],
43             ['Reporting bugs', _exp('GenerateSection'), { head => 2, text => fback_reporting() } ],
44             ['@BioPerl/Legal', _exp('Legal::Complicated'), {} ],
45             ['@BioPerl/Contributors', _exp('Contributors'), {} ],
46              
47             ['SingleEncoding', _exp('-SingleEncoding'), { encoding => 'UTF-8' } ],
48              
49             ['@BioPerl/List', _exp('-Transformer'), { transformer => 'List'} ],
50              
51             ['EnsureUniqueSections', _exp('-EnsureUniqueSections'), {} ],
52             )
53             };
54              
55              
56             sub fback_lists {
57 2     2 0 104 return ["User feedback is an integral part of the evolution of this and other",
58             "Bioperl modules. Send your comments and suggestions preferably to",
59             "the Bioperl mailing list. Your participation is much appreciated.",
60             "",
61             " {{\$bugtracker_email}} - General discussion",
62             " http://bioperl.org/Support.html - About the mailing lists",
63             ];
64             }
65              
66             sub fback_support {
67 2     2 0 103 return ["Please direct usage questions or support issues to the mailing list:",
68             "I<{{\$bugtracker_email}}>",
69             "",
70             "rather than to the module maintainer directly. Many experienced and",
71             "reponsive experts will be able look at the problem and quickly",
72             "address it. Please include a thorough description of the problem",
73             "with code and data examples if at all possible.",
74             ];
75             }
76              
77             sub fback_reporting {
78 2     2 0 99 return ["Report bugs to the Bioperl bug tracking system to help us keep track",
79             "of the bugs and their resolution. Bug reports can be submitted via the",
80             "web:",
81             "",
82             " {{\$bugtracker_web}}",
83             ];
84             }
85              
86             1;
87              
88             __END__
89              
90             =pod
91              
92             =encoding UTF-8
93              
94             =head1 NAME
95              
96             Pod::Weaver::PluginBundle::BioPerl - Configure your POD like Bioperl does
97              
98             =head1 VERSION
99              
100             version 0.26
101              
102             =head1 SYNOPSIS
103              
104             This L<Pod::Weaver> plugin bundle is used by L<Dist::Zilla::Pluginbundle::BioPerl>
105             so if you're using it, you're already using this as well. Otherwise, either add
106             to your F<.dist.ini>
107              
108             [PodWeaver]
109             config_plugin = @BioPerl
110              
111             or to your F<weaver.ini>
112              
113             [@BioPerl]
114              
115             =head1 DESCRIPTION
116              
117             This is the L<Pod::Weaver> configuration for the BioPerl project. It is roughly
118             equivalent to:
119              
120             [@CorePrep]
121             [Name]
122             [Version]
123              
124             [Region / prelude]
125              
126             [Generic / SYNOPSIS]
127             [Generic / DESCRIPTION]
128             [Generic / OVERVIEW]
129              
130             [Collect / ATTRIBUTES]
131             command = attr
132             [Collect / METHODS]
133             command = method
134             [Collect / FUNCTIONS]
135             command = func
136             [Collect / INTERNAL METHODS]
137             command = internal
138              
139             [Leftovers]
140              
141             [Region / postlude]
142              
143             [GenerateSection / FEEDBACK]
144             head = 1
145             [GenerateSection / Mailing lists]
146             head = 2
147             text =
148             [GenerateSection / Support]
149             head = 2
150             text =a rather long text
151             [GenerateSection / Reporting bugs]
152             head = 2
153             text = a rather long text
154             [Legal::Complicated]
155             [Contributors]
156              
157             [-SingleEncoding]
158             encoding = UTF-8
159              
160             [-Transformer]
161             transformer = List
162              
163             [-EnsureUniqueSections]
164              
165             =for Pod::Coverage _exp mvp_bundle_config
166              
167             =for Pod::Coverage fback_lists fback_support fback_reporting
168              
169             =head1 FEEDBACK
170              
171             =head2 Mailing lists
172              
173             User feedback is an integral part of the evolution of this and other
174             Bioperl modules. Send your comments and suggestions preferably to
175             the Bioperl mailing list. Your participation is much appreciated.
176              
177             bioperl-l@bioperl.org - General discussion
178             http://bioperl.org/Support.html - About the mailing lists
179              
180             =head2 Support
181              
182             Please direct usage questions or support issues to the mailing list:
183             I<bioperl-l@bioperl.org>
184              
185             rather than to the module maintainer directly. Many experienced and
186             reponsive experts will be able look at the problem and quickly
187             address it. Please include a thorough description of the problem
188             with code and data examples if at all possible.
189              
190             =head2 Reporting bugs
191              
192             Report bugs to the Bioperl bug tracking system to help us keep track
193             of the bugs and their resolution. Bug reports can be submitted via the
194             web:
195              
196             https://github.com/bioperl/dist-zilla-pluginbundle-bioperl/issues
197              
198             =head1 AUTHOR
199              
200             Carnë Draug <carandraug+dev@gmail.com>
201              
202             =head1 COPYRIGHT
203              
204             This software is copyright (c) 2013-2017 by Carnë Draug.
205              
206             This software is available under the same terms as the perl 5 programming language system itself.
207              
208             =cut