blib/lib/Dist/Zilla/Role/PluginBundle.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.1% 16 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Dist/Zilla/Role/ConfigDumper.pm ↑ Summary blib/lib/Dist/Zilla/PluginBundle/Basic.pm »
1 package Dist::Zilla::Role::PluginBundle 6.040;
2 # ABSTRACT: something that bundles a bunch of plugins
3  
4 11 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 11 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 11 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 #pod =head1 DESCRIPTION
11 #pod
12 #pod When loading configuration, if the config reader encounters a PluginBundle, it
13 #pod will replace its place in the plugin list with the result of calling its
14 #pod C<bundle_config> method, which will be passed a Config::MVP::Section to
15 #pod configure the bundle.
16 #pod
17 #pod =cut
18  
19 10 ▶sub register_component {
Subroutine register_component: called CC=1 SCAR=0.0
Pod undocumented
20 10 my ($class, $name, $arg, $self) = @_;
21 # ... we should register a placeholder so MetaConfig can tell us about the
22 # pluginbundle that was loaded
23 }
24  
25 11 requires 'bundle_config';
26  
27 11 1;
28  
29 __END__
« blib/lib/Dist/Zilla/Role/ConfigDumper.pm ↑ Summary blib/lib/Dist/Zilla/PluginBundle/Basic.pm »