Pod/Weaver/PluginBundle/RSRCHBOY.pm

filter: Statementstmt 70.0% 21 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 54.5% 6 / 11 Podpod 0.0% 0 / 1 totaltotal 64.2% 27 / 42 CC 1 SCAR 3.7
CC
1
Cov
70%
mvp_bundle_config
2.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.5
« Pod/Weaver/Section/RSRCHBOY/Authors.pm ↑ Summary Pod/Weaver/SectionBase/CollectWithIntro.pm »
1 #
2 # This file is part of Dist-Zilla-PluginBundle-RSRCHBOY
3 #
4 # This software is Copyright (c) 2026 by Chris Weyl.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 package Pod::Weaver::PluginBundle::RSRCHBOY;
11 1 our $AUTHORITY = 'cpan:RSRCHBOY';
12 1 $Pod::Weaver::PluginBundle::RSRCHBOY::VERSION = '0.080';
13 # ABSTRACT: Document your modules like RSRCHBOY does
14  
15 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 1 ▶use Pod::Weaver::Config::Assembler;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 1 ▶use constant COLLECT => Pod::Weaver::Config::Assembler->expand_package('Collect');
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use constant GENERIC => Pod::Weaver::Config::Assembler->expand_package('Generic');
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use constant VFORMAT => 'This document describes version %v of %m - released %{LLLL dd, yyyy}d as part of %r.';
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 0 ▶sub mvp_bundle_config {
Subroutine mvp_bundle_config: not called CC=1 SCAR=6.9
Pod undocumented
25  
26 0 ▶ my $_exp = sub { Pod::Weaver::Config::Assembler->expand_package($_[0]) };
Subroutine __ANON__: not called CC=1 SCAR=6.9
27 0 ▶ my $_exp2 = sub { [ "\@RSRCHBOY/$_[0]", $_exp->($_[0]), {} ] };
Subroutine __ANON__: not called CC=1 SCAR=6.9
28  
29 0 ▶ my $_collect = sub { ( COLLECT, { command => $_[0] } ) };
Subroutine __ANON__: not called CC=1 SCAR=6.9
30 0 ▶ my $_generic = sub { [ $_[0] => GENERIC, { } ] };
Subroutine __ANON__: not called CC=1 SCAR=6.9
31  
32 return (
33 0 [ '@RSRCHBOY/StopWords', $_exp->('-StopWords'), {} ],
34 [ '@RSRCHBOY/CorePrep', $_exp->('@CorePrep'), {} ],
35  
36 $_exp2->('Name'),
37 [ '@RSRCHBOY/Version', $_exp->('Version'), { format => VFORMAT } ],
38 [ '@RSRCHBOY/prelude', $_exp->('Region'), { region_name => 'prelude' } ],
39  
40 $_generic->('SYNOPSIS'),
41 $_generic->('DESCRIPTION'),
42 $_generic->('OVERVIEW'),
43  
44 [ 'EXTENDS', $_collect->('extends') ],
45 [ 'IMPLEMENTS', $_collect->('implements') ],
46 [ 'CONSUMES', $_collect->('consumes') ],
47  
48 [ 'ROLE PARAMETERS', $_exp->('RSRCHBOY::RoleParameters'), {} ],
49  
50 [ 'REQUIRED ATTRIBUTES', $_exp->('RSRCHBOY::RequiredAttributes'), { } ],
51 [ 'LAZY ATTRIBUTES', $_exp->('RSRCHBOY::LazyAttributes'), { } ],
52 [ 'REQUIRED METHODS', $_collect->('required_method') ],
53 [ 'ATTRIBUTES', $_collect->('attr') ],
54  
55 [ 'BEFORE METHOD MODIFIERS', $_collect->('before') ],
56 [ 'AROUND METHOD MODIFIERS', $_collect->('around') ],
57 [ 'AFTER METHOD MODIFIERS', $_collect->('after') ],
58  
59 [ 'METHODS', $_collect->('method') ],
60 [ 'PRIVATE METHODS', $_collect->('pvt_method') ],
61 [ 'FUNCTIONS', $_collect->('func') ],
62 [ 'TYPES', $_collect->('type') ],
63 [ 'TEST FUNCTIONS', $_collect->('test') ],
64  
65 $_exp2->('Leftovers'),
66  
67 [ '@RSRCHBOY/postlude', $_exp->('Region'), { region_name => 'postlude' } ],
68  
69 $_exp2->('SeeAlso'),
70 $_exp2->('Bugs'),
71  
72 [ 'RSRCHBOY::Authors', $_exp->('RSRCHBOY::Authors'), { feed_me => 0 } ],
73 $_exp2->('Contributors'),
74 $_exp2->('Legal'),
75  
76 [ '@RSRCHBOY/List', $_exp->('-Transformer'), { transformer => 'List' } ],
77 [ '@RSRCHBOY/SingleEncoding', $_exp->('-SingleEncoding'), {} ],
78 );
79 }
80  
81 1 !!42;
82  
83 __END__
« Pod/Weaver/Section/RSRCHBOY/Authors.pm ↑ Summary Pod/Weaver/SectionBase/CollectWithIntro.pm »