IOC/Service/Prototype/ConstructorInjection.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« IOC/Interfaces.pm ↑ Summary IOC/Service/Prototype/SetterInjection.pm »
1  
2 package IOC::Service::Prototype::ConstructorInjection;
3  
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 our $VERSION = '0.01';
8  
9 3 ▶use IOC::Exceptions;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 3 ▶use base 'IOC::Service::ConstructorInjection', 'IOC::Service::Prototype';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 # make sure we use the prototype version
14 *instance = \&IOC::Service::Prototype::instance;
15  
16 1;
17  
18 __END__
« IOC/Interfaces.pm ↑ Summary IOC/Service/Prototype/SetterInjection.pm »