| blib/lib/IOC/Visitor/SearchForService.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 10 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 1 | 7 | unless $service_name |
| 30 | 4 | 6 | unless blessed $container and $container->isa('IOC::Container') |
| 39 | 1 | 21 | if $container->hasService($service_to_find) |
| 41 | 8 | 13 | if ($container->hasSubContainers) |
| 45 | 2 | 14 | if defined $service |