blib/lib/IOC/Service/Prototype/ConstructorInjection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | |||||||
2 | package IOC::Service::Prototype::ConstructorInjection; | ||||||
3 | |||||||
4 | 6 | 6 | 27530 | use strict; | |||
6 | 13 | ||||||
6 | 221 | ||||||
5 | 6 | 6 | 31 | use warnings; | |||
6 | 10 | ||||||
6 | 259 | ||||||
6 | |||||||
7 | our $VERSION = '0.01'; | ||||||
8 | |||||||
9 | 6 | 6 | 461 | use IOC::Exceptions; | |||
6 | 14 | ||||||
6 | 161 | ||||||
10 | |||||||
11 | 6 | 6 | 31 | use base 'IOC::Service::ConstructorInjection', 'IOC::Service::Prototype'; | |||
6 | 14 | ||||||
6 | 1432 | ||||||
12 | |||||||
13 | # make sure we use the prototype version | ||||||
14 | *instance = \&IOC::Service::Prototype::instance; | ||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |