Pod/Weaver/PluginBundle/Celogeek.pm

filter: Statementstmt 82.3% 14 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 100% 1 / 1 totaltotal 79.1% 19 / 24 CC 1 SCAR 2.9
CC
1
Cov
82%
_exp
2.0
mvp_bundle_config
2.0
BEGIN
1.0
CRAP 1.3
« Dist/Zilla/PluginBundle/Author/Celogeek.pm ↑ Summary
1 #
2 # This file is part of Dist-Zilla-PluginBundle-Author-Celogeek
3 #
4 # This software is copyright (c) 2014 by celogeek <me@celogeek.com>.
5 #
6 # This is free software; you can redistribute it and/or modify it under
7 # the same terms as the Perl 5 programming language system itself.
8 #
9 package Pod::Weaver::PluginBundle::Celogeek;
10  
11 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 # ABSTRACT: a bundle that add Bugs section to the Default bundle
15 1 our $VERSION = '1.1'; # VERSION
16  
17 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 1 ▶use Pod::Weaver::Config::Assembler;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 0 ▶sub _exp {
Subroutine _exp: not called CC=1 SCAR=6.9
22 0 my $package = shift;
23 0 return Pod::Weaver::Config::Assembler->expand_package($package);
24 }
25  
26 0 ▶sub mvp_bundle_config {
Subroutine mvp_bundle_config: not called CC=1 SCAR=6.9
Pod documented
27 return (
28 0 [ '@Default/CorePrep', _exp('@CorePrep'), {} ],
29 [ '@Default/Name', _exp('Name'), {} ],
30 [ '@Default/Version', _exp('Version'), {} ],
31  
32 [ '@Default/prelude', _exp('Region'), { region_name => 'prelude' } ],
33 [ 'SYNOPSIS', _exp('Generic'), {} ],
34 [ 'DESCRIPTION', _exp('Generic'), {} ],
35 [ 'OVERVIEW', _exp('Generic'), {} ],
36  
37 [ 'ATTRIBUTES', _exp('Collect'), { command => 'attr' } ],
38 [ 'METHODS', _exp('Collect'), { command => 'method' } ],
39 [ 'FUNCTIONS', _exp('Collect'), { command => 'func' } ],
40  
41 [ '@Default/Leftovers', _exp('Leftovers'), {} ],
42  
43 [ '@Default/postlude', _exp('Region'), { region_name => 'postlude' }
44 ],
45  
46 [ '@Default/Bugs', _exp('Bugs'), {} ],
47 [ '@Default/Authors', _exp('Authors'), {} ],
48 [ '@Default/Legal', _exp('Legal'), {} ],
49 );
50 }
51  
52 1 1;
53  
54 __END__
« Dist/Zilla/PluginBundle/Author/Celogeek.pm ↑ Summary