| lib/MooseX/DIC/ServiceRegistry.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 14 | 57.1 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 1 | 16 | if (exists $self->metadata->{$interface_name}) { } |
| 29 | 0 | 1 | if (exists $interface_definition->{$environment}) |
| 30 | 0 | 0 | if ($interface_definition->{$environment}->class_name eq $service_name) |
| 50 | 32 | 1 | if (exists $self->metadata->{$interface_name}) { } |
| 53 | 1 | 0 | unless (defined $service_definition or $environment eq 'default') |
| 56 | 1 | 0 | if defined $service_definition |
| 59 | 0 | 32 | unless defined $service_definition |