| Percentage | Lines | ||
|---|---|---|---|
| ConstructorLessInstanciator |
|
67 % | 22 |
| WithConstructor |
|
70 % | 23 |
| PropertyCannotBeInjected |
|
100 % | 8 |
| PropertyCannotBeExtracted |
|
100 % | 8 |
| ReflectionStrategy |
|
100 % | 39 |
| ExtractionStrategies |
|
100 % | 12 |
| IsserStrategy |
|
100 % | 49 |
| DelegationStrategy |
|
100 % | 63 |
| AccessProperty |
|
100 % | 44 |
| InjectionStrategies |
|
100 % | 10 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ReflectionInstanciator::canInject() | 9 | 39 | |
| ReflectionStrategy::inject() | 4 | 19 | |
| ReflectionStrategy::extract() | 4 | 20 | |
| DelegationStrategy::extract() | 4 | 25 | |
| DelegationStrategy::inject() | 4 | 25 | |
| NamedMethodStrategy::supports() | 3 | 19 | |
| NamedMethodStrategy::supports() | 3 | 19 | |
| IsserStrategy::supports() | 3 | 19 | |
| AccessProperty::byClass() | 3 | 16 | |
| ReflectionInstanciator::parameters() | 3 | 16 | |