Weaver/PluginBundle/Default.pm

filter: Statementstmt 100% 29 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 11 / 11 Podpod 0.0% 0 / 1 totaltotal 97.5% 40 / 41 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Weaver/PluginBundle/CorePrep.pm ↑ Summary Weaver/Plugin/H1Nester.pm »
1 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Pod::Weaver::PluginBundle::Default 4.022;
4 # ABSTRACT: a bundle for the most commonly-needed prep work for a pod document
5  
6 # BEGIN BOILERPLATE
7 4 ▶use v5.22.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 4 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 ▶no feature 'switch';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 4 ▶use experimental qw(postderef postderef_qq); # This experiment gets mainlined.
Subroutine BEGIN: called CC=1 SCAR=0.0
12 # END BOILERPLATE
13  
14 #pod =head1 OVERVIEW
15 #pod
16 #pod This is the bundle used by default (specifically by Pod::Weaver's
17 #pod C<new_with_default_config> method). It may change over time, but should remain
18 #pod fairly conservative and straightforward.
19 #pod
20 #pod It is nearly equivalent to the following:
21 #pod
22 #pod [@CorePrep]
23 #pod
24 #pod [-SingleEncoding]
25 #pod
26 #pod [Name]
27 #pod [Version]
28 #pod
29 #pod [Region / prelude]
30 #pod
31 #pod [Generic / SYNOPSIS]
32 #pod [Generic / DESCRIPTION]
33 #pod [Generic / OVERVIEW]
34 #pod
35 #pod [Collect / ATTRIBUTES]
36 #pod command = attr
37 #pod
38 #pod [Collect / METHODS]
39 #pod command = method
40 #pod
41 #pod [Collect / FUNCTIONS]
42 #pod command = func
43 #pod
44 #pod [Leftovers]
45 #pod
46 #pod [Region / postlude]
47 #pod
48 #pod [Authors]
49 #pod [Legal]
50 #pod
51 #pod =cut
52  
53 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
54  
55 4 ▶use Pod::Weaver::Config::Assembler;
Subroutine BEGIN: called CC=1 SCAR=0.0
56 90 ▶sub _exp { Pod::Weaver::Config::Assembler->expand_package($_[0]) }
Subroutine _exp: called CC=1 SCAR=0.0
57  
58 6 ▶sub mvp_bundle_config {
Subroutine mvp_bundle_config: called CC=1 SCAR=0.0
Pod undocumented
59 return (
60 6 [ '@Default/CorePrep', _exp('@CorePrep'), {} ],
61 [ '@Default/SingleEncoding', _exp('-SingleEncoding'), {} ],
62 [ '@Default/Name', _exp('Name'), {} ],
63 [ '@Default/Version', _exp('Version'), {} ],
64  
65 [ '@Default/prelude', _exp('Region'), { region_name => 'prelude' } ],
66 [ 'SYNOPSIS', _exp('Generic'), {} ],
67 [ 'DESCRIPTION', _exp('Generic'), {} ],
68 [ 'OVERVIEW', _exp('Generic'), {} ],
69  
70 [ 'ATTRIBUTES', _exp('Collect'), { command => 'attr' } ],
71 [ 'METHODS', _exp('Collect'), { command => 'method' } ],
72 [ 'FUNCTIONS', _exp('Collect'), { command => 'func' } ],
73  
74 [ '@Default/Leftovers', _exp('Leftovers'), {} ],
75  
76 [ '@Default/postlude', _exp('Region'), { region_name => 'postlude' } ],
77  
78 [ '@Default/Authors', _exp('Authors'), {} ],
79 [ '@Default/Legal', _exp('Legal'), {} ],
80 )
81 }
82  
83 4 1;
84  
85 __END__
« Weaver/PluginBundle/CorePrep.pm ↑ Summary Weaver/Plugin/H1Nester.pm »