File Coverage

blib/lib/Pod/Weaver/PluginBundle/NoAuthor.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod 0 1 0.0
total 16 21 76.1


line stmt bran cond sub pod time code
1 1     1   2532 use strict;
  1         1  
  1         24  
2 1     1   4 use warnings;
  1         2  
  1         42  
3             package Pod::Weaver::PluginBundle::NoAuthor;
4             # ABSTRACT: the Default plugin bundle, with the Authors section removed
5             $Pod::Weaver::PluginBundle::NoAuthor::VERSION = '0.007';
6             #pod =head1 OVERVIEW
7             #pod
8             #pod This is a slight modification of Pod::Weaver::PluginBundle::Default, with the
9             #pod AUTHORS section removed.
10             #pod
11             #pod =cut
12              
13 1     1   372 use namespace::autoclean;
  1         14296  
  1         3  
14              
15 1     1   400 use Pod::Weaver::Config::Assembler;
  1         865300  
  1         235  
16 0     0     sub _exp { Pod::Weaver::Config::Assembler->expand_package($_[0]) }
17              
18             sub mvp_bundle_config {
19             return (
20 0     0 0   [ '@Default/CorePrep', _exp('@CorePrep'), {} ],
21             [ '@Default/SingleEncoding', _exp('-SingleEncoding'), {} ],
22             [ '@Default/Name', _exp('Name'), {} ],
23             [ '@Default/Version', _exp('Version'), {} ],
24              
25             [ '@Default/prelude', _exp('Region'), { region_name => 'prelude' } ],
26             [ 'SYNOPSIS', _exp('Generic'), {} ],
27             [ 'DESCRIPTION', _exp('Generic'), {} ],
28             [ 'OVERVIEW', _exp('Generic'), {} ],
29              
30             [ 'ATTRIBUTES', _exp('Collect'), { command => 'attr' } ],
31             [ 'METHODS', _exp('Collect'), { command => 'method' } ],
32             [ 'FUNCTIONS', _exp('Collect'), { command => 'func' } ],
33              
34             [ '@Default/Leftovers', _exp('Leftovers'), {} ],
35              
36             [ '@Default/postlude', _exp('Region'), { region_name => 'postlude' } ],
37              
38             [ '@Default/Legal', _exp('Legal'), {} ],
39             )
40             }
41              
42             1;
43              
44             __END__
45              
46             =pod
47              
48             =encoding UTF-8
49              
50             =head1 NAME
51              
52             Pod::Weaver::PluginBundle::NoAuthor - the Default plugin bundle, with the Authors section removed
53              
54             =head1 VERSION
55              
56             version 0.007
57              
58             =head1 AUTHOR
59              
60             Andreas K. Huettel <dilfridge@gentoo.org>
61              
62             =head1 COPYRIGHT AND LICENSE
63              
64             This software is copyright (c) 2017 by Andreas K. Huettel.
65              
66             This is free software; you can redistribute it and/or modify it under
67             the same terms as the Perl 5 programming language system itself.
68              
69             =cut