Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B ConfigServiceProviderTest::testRegisterServicesWithFactoriesAndServices() 0 30 8 1 0 0
B ConfigServiceProvider::registerServices() 0 7 8 3 0 0
B Arp\Container\Container::doGet() 0 21 6 0 0 0
A ConfigServiceProviderTest.php$0 ➔ getRegisterServicesWithFactoriesAndServicesData() 0 52 1 0 0 0
A Container\Container::resolveFactory() 0 13 6 0 0 0
A ContainerTest.php$0 ➔ testConfigure() 0 32 2 0 0 0
A ConfigServiceProviderTest::testRegisterServicesWillThrowServiceProviderExceptionIfTheServiceAliasCannotBeSet() 0 27 1 1 0 0
A ConfigServiceProvider::registerFactory() 0 13 5 1 0 0
A Arp\Container\Container::setAlias() 0 8 5 0 0 0
A ConfigServiceProvider::registerArrayFactory() 0 11 5 1 0 0
A ConfigServiceProviderTest::testRegisterServicesWillThrowServiceProviderExceptionIfAFactoryCannotBeSet() 0 18 1 1 0 0
A ContainerTest::testGetWillThrowContainerExceptionIfAFactoryDependencyCausesACircularCreationDependency() 0 18 1 1 0 0
A ContainerTest::testConfigureWillThrowAContainerExceptionIfTheConfigurationFails() 0 17 1 0 0 0
A ConfigServiceProviderTest.php$0 ➔ testRegistrationOfStringFactories() 0 16 1 0 0 0
A ConfigServiceProviderTest.php$0 ➔ testArrayFactoryWithNonCallableMethodWillThrowServiceProviderException() 0 15 1 0 0 0