Footprintless/Plugin.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 100% 3 / 3 totaltotal 95.4% 21 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« Footprintless/App/Command/overlay.pm ↑ Summary Footprintless/MixableBase.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Footprintless::Plugin;
5 1 $Footprintless::Plugin::VERSION = '1.29';
6 # ABSTRACT: The base class for footprintless plugins
7 # PODNAME: Footprintless::Plugin
8  
9 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
10 2 my ( $class, $config, @rest ) = @_;
11 2 return bless( { config => $config }, $class )->_init(@rest);
12 }
13  
14 1 ▶sub command_packages {
Subroutine command_packages: called CC=1 SCAR=0.0
Pod documented
15 1 my ($self) = @_;
16 1 return ( ref($self) . "::Command" );
17 }
18  
19 2 ▶sub _init {
Subroutine _init: called CC=1 SCAR=0.0
20 2 return $_[0];
21 }
22  
23 0 ▶sub factory_methods {
Subroutine factory_methods: not called CC=1 SCAR=0.0
Pod documented
24  
25 # return a map of factory methods by name
26 }
27  
28 1 1;
29  
30 __END__
« Footprintless/App/Command/overlay.pm ↑ Summary Footprintless/MixableBase.pm »