lib/MooseX/DIC/Types.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MooseX::DIC::Types; | ||||||
2 | |||||||
3 | 5 | 5 | 33 | use Moose::Util::TypeConstraints; | |||
5 | 12 | ||||||
5 | 48 | ||||||
4 | |||||||
5 | role_type Injectable => { role => 'MooseX::DIC::Injectable' }; | ||||||
6 | role_type ServiceFactory => { role => 'MooseX::DIC::ServiceFactory' }; | ||||||
7 | |||||||
8 | enum ServiceScope => [qw/request singleton/]; | ||||||
9 | enum InjectionScope => [qw/request object/]; | ||||||
10 | enum ServiceBuilder => [qw/Moose Factory/]; | ||||||
11 | |||||||
12 | 1; |