Percentage | Lines | ||
---|---|---|---|
Resolver |
|
80 % | 36 |
ReflectionResolver |
|
86 % | 90 |
ResolverFactory |
|
89 % | 43 |
AliasDefinition |
|
100 % | 23 |
ValueDefinition |
|
100 % | 23 |
ClassDefinition |
|
100 % | 23 |
ClosureDefinition |
|
100 % | 23 |
FactoryDefinition |
|
100 % | 23 |
ClosureResolver |
|
100 % | 13 |
ValueResolver |
|
100 % | 12 |
CRAP Score | Lines | ||
---|---|---|---|
Container::getDefinition() | 5 | 16 | |
ReflectionResolver::injectProperties() | 4 | 22 | |
ReflectionResolver::getInjectableProperties() | 4 | 21 | |
Container::get() | 4 | 16 | |
DefinitionFactory::create() | 4 | 16 | |
FactoryResolver::resolve() | 4 | 19 | |
ReflectionResolver::getConstructorParams() | 4 | 23 | |
Container::has() | 3 | 12 | |
ContainerBuilder::addDefinitions() | 3 | 10 | |
Resolver::validate() | 2 | 8 | |