Branch Coverage

lib/MooseX/DIC/ServiceFactory/Moose.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
45 6 0 if ($self->container->has_service($service_type)) { }
47 3 3 if ($dependency->scope eq 'object') { }
3 0 elsif ($dependency->scope eq 'request') { }
54 1 2 if $attribute_service_meta->scope eq 'singleton'
66 0 4 if $value
76 1 1 if ($attribute->is_required)
84 0 0 if $attribute->is_required