Footprintless/MixableBase.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.6% 22 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Footprintless/Plugin.pm ↑ Summary Footprintless/CommandRunner/IPCRun3.pm »
1 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Footprintless::MixableBase;
5 11 $Footprintless::MixableBase::VERSION = '1.29';
6 # ABSTRACT: A base class for using mixins
7 # PODNAME: Footprintless::MixableBase
8  
9 11 ▶use Log::Any;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 11 my $logger = Log::Any->get_logger();
12  
13 76 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
14 76 my ( $class, $factory, $coordinate, @options ) = @_;
15 76 $logger->tracef( "%s coordinate=[%s]\noptions=[%s]", $class, $coordinate, \@options );
16 76 my $self = bless(
17 { factory => $factory,
18 coordinate => $coordinate
19 },
20 $class
21 );
22  
23 76 return $self->_init(@options);
24 }
25  
26 18 ▶sub _init {
Subroutine _init: called CC=1 SCAR=0.0
27 18 return $_[0];
28 }
29  
30 11 1;
31  
32 __END__
« Footprintless/Plugin.pm ↑ Summary Footprintless/CommandRunner/IPCRun3.pm »