| Percentage | Lines | ||
|---|---|---|---|
| AndXFactory |
|
100 % | 33 |
| NotFactory |
|
100 % | 31 |
| OrXFactory |
|
100 % | 33 |
| Handler |
|
100 % | 51 |
| Registry |
|
100 % | 39 |
| CRAP Score | Lines | ||
|---|---|---|---|
| AndXFactory::create() | 2 | 14 | |
| NotFactory::create() | 2 | 12 | |
| OrXFactory::create() | 2 | 14 | |
| Registry::getFactory() | 2 | 11 | |
| Registry::register() | 1 | 4 | |
| Handler::registerFactory() | 1 | 4 | |
| AndXFactory::__construct() | 1 | 4 | |
| NotFactory::__construct() | 1 | 4 | |
| OrXFactory::__construct() | 1 | 4 | |
| Handler::__construct() | 1 | 9 | |