Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
D | TranslatorServiceProvider::registerLocales() | 0 | 37 | 10 | 0 | 0 | 0 |
D | TranslatorServiceProvider::registerTranslator() | 0 | 61 | 10 | 0 | 0 | 0 |
D | Translator::isValidTranslation() | 0 | 16 | 10 | 0 | 0 | 0 |
C | LanguageMiddleware::getLanguage() | 0 | 21 | 11 | 0 | 0 | 0 |
C | Translator\Translation::setVal() | 0 | 17 | 7 | 0 | 0 | 0 |
B | Middleware\LanguageMiddleware::setLocale() | 0 | 17 | 6 | 0 | 0 | 0 |
B | Translator\Translator::translateChoice() | 0 | 16 | 6 | 0 | 0 | 0 |
B | TranslationParserScript::toCSV() | 0 | 23 | 6 | 0 | 0 | 0 |
B | Translator\Translator::translationChoice() | 0 | 15 | 5 | 0 | 0 | 0 |
B | TranslationParserScript::getTranslationsFromPath() | 0 | 26 | 5 | 0 | 0 | 0 |
B | TranslatorConfig::setTranslations() | 0 | 11 | 5 | 0 | 0 | 0 |
B | Translator\LocalesManager::filterLocales() | 0 | 11 | 6 | 0 | 0 | 0 |
B | LocalesManager::setDefaultLocale() | 0 | 11 | 5 | 0 | 0 | 0 |
B | LanguageMiddleware::getLanguageFromParams() | 0 | 7 | 5 | 0 | 0 | 0 |
B | LocalesManager::sortLocalesByPriority() | 0 | 5 | 5 | 0 | 0 | 0 |