File Coverage

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 4     4   25 use Moose::Util::TypeConstraints;
  4         7  
  4         31  
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;