Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B ApplicationOptionsProviderTrait::getApplicationOptions() 0 26 7 1 0 0
B ServiceOptionsProviderTrait::getServiceOptions() 0 21 6 2 0 1
B LaminasFactory\AbstractFactory::getService() 0 20 6 5 0 0
A AbstractFactoryTest.php$0 ➔ testInvokeWillReturnConfiguredStdClass() 0 32 1 0 0 0
A ApplicationOptionsProviderTraitTest.php$3 ➔ testWillThrowServiceNotCreatedExceptionIfTheServiceOptionsAreNotOfTypeArray() 0 32 1 0 0 0
A ApplicationOptionsProviderTraitTest.php$2 ➔ testWillThrowServiceNotCreatedExceptionIfTheReturnedOptionsServiceIsMissingOptionsKey() 0 30 1 0 0 0
A AbstractFactoryTest.php$1 ➔ testBuildServiceWillThrowServiceNotCreatedExceptionIfTheProvidedServiceIsNotAValidService() 0 30 1 0 0 0
A AbstractFactoryTest.php$1 ➔ testGetServiceWillReThrowExceptionErrors() 0 29 1 0 0 0
A ApplicationOptionsProviderTraitTest.php$1 ➔ testWillThrowServiceNotCreatedExceptionIfTheReturnedOptionsServiceIsNotAnArray() 0 26 1 0 0 0
A AbstractFactoryTest.php$0 ➔ testGetServiceWillThrowServiceNotCreatedExceptionIfTheProvidedServiceIsNotAValidService() 0 22 1 0 0 0
A ApplicationOptionsProviderTraitTest.php$0 ➔ testWillThrowServiceNotFoundExceptionIfTheOptionsServiceCannotBeFound() 0 22 1 0 0 0
A AbstractFactoryTest.php$0 ➔ testImplementsFactoryInterface() 0 20 1 0 0 0
A AbstractFactoryTest.php$1 ➔ testGetServiceWillReThrowContainerContainerExceptionInterfaceErrors() 0 19 1 0 0 0
A LaminasFactory\AbstractFactory::buildService() 0 10 2 1 0 0
A AbstractFactoryTest.php$0 ➔ testGetServiceWillReturnServiceNameWhenProvidedNonStringValue() 0 9 1 0 0 0