Percentage | Lines | ||
---|---|---|---|
Config |
|
86 % | 80 |
Prefix |
|
87 % | 37 |
Type |
|
89 % | 33 |
Gender |
|
91 % | 38 |
Engine |
|
92 % | 54 |
AbstractInputDataException |
|
100 % | 9 |
EngineFactory |
|
100 % | 9 |
Entry |
|
100 % | 46 |
ConfigFactory |
|
100 % | 9 |
NamesDetector |
|
100 % | 59 |
CRAP Score | Lines | ||
---|---|---|---|
Engine::findValueByType() | 8 | 32 | |
Config::createDictionaryFromFile() | 5 | 22 | |
Config::__construct() | 5 | 12 | |
NamesDetector::createTitle() | 5 | 19 | |
Prefix::getPrefixByGender() | 3 | 9 | |
Type::__construct() | 2 | 7 | |
Gender::__construct() | 2 | 7 | |
Config::getDictionary() | 2 | 7 | |
AbstractInputDataException::__construct() | 2 | 7 | |
EngineFactory::create() | 2 | 7 | |