Percentage | Lines | ||
---|---|---|---|
LanguageCodeNotExist |
|
0 % | 7 |
DeeplTranslator |
|
0 % | 44 |
GoogleCloudTranslator |
|
0 % | 37 |
AllCommand |
|
0 % | 79 |
MissingCommand |
|
0 % | 82 |
SimpleGoogleTranslator |
|
38 % | 50 |
AutoTranslate |
|
93 % | 123 |
AutoTranslateFacade |
|
100 % | 12 |
AutoTranslateServiceProvider |
|
100 % | 40 |
CRAP Score | Lines | ||
---|---|---|---|
MissingCommand::handle() | 30 | 47 | |
AllCommand::handle() | 20 | 44 | |
SimpleGoogleTranslator::translate() | 12 | 14 | |
DeeplTranslator::translate() | 12 | 18 | |
AutoTranslate::translate() | 6 | 29 | |
AutoTranslate::getTranslations() | 3 | 18 | |
SimpleGoogleTranslator::__construct() | 2 | 10 | |
AutoTranslate::replaceTranslatedVariablesWithOld() | 2 | 10 | |
AutoTranslate::fillLanguageFiles() | 2 | 12 | |
AutoTranslate::array_undot() | 2 | 8 | |