| Percentage | Lines | ||
|---|---|---|---|
| ComponentTrait |
|
80 % | 16 |
| ComponentContainer |
|
94 % | 46 |
| ContainerTrait |
|
100 % | 21 |
| CRAP Score | Lines | |
|---|---|---|
| ComponentTrait::fromContainer() | 3 | 8 |
| ComponentContainer::get() | 3 | 9 |
| ComponentContainer::add() | 2 | 8 |
| ComponentContainer::has() | 2 | 6 |
| ContainerTrait::setContainer() | 1 | 3 |
| ContainerTrait::getContainer() | 1 | 3 |