Percentage | Lines | ||
---|---|---|---|
App |
|
80 % | 40 |
ValueObjectTrait |
|
83 % | 24 |
ModuleRepository |
|
92 % | 77 |
Module |
|
95 % | 83 |
JSONEndoder |
|
100 % | 7 |
ModuleMapper |
|
100 % | 35 |
JSONDecoder |
|
100 % | 12 |
ImmutableTrait |
|
100 % | 30 |
JSONModuleStorage |
|
100 % | 34 |
CRAP Score | Lines | ||
---|---|---|---|
App::loadModules() | 6 | 11 | |
ModuleMapper::getModule() | 4 | 12 | |
ModuleRepository::getAll() | 3 | 16 | |
Module::validate() | 3 | 12 | |
ModuleRepository::has() | 3 | 10 | |
ValueObjectTrait::equals() | 2 | 9 | |
ImmutableTrait::setConstructed() | 2 | 7 | |
JSONDecoder::getData() | 2 | 9 | |
ModuleRepository::add() | 2 | 12 | |
JSONModuleStorage::read() | 2 | 14 | |