Percentage | Lines | ||
---|---|---|---|
Translate |
|
100 % | 31 |
I18nMiddleware |
|
100 % | 71 |
Form |
|
100 % | 20 |
LocaleLink |
|
100 % | 29 |
TranslatorFactory |
|
100 % | 41 |
HasTranslatorTrait |
|
100 % | 19 |
I18nPackage |
|
100 % | 52 |
CRAP Score | Lines | ||
---|---|---|---|
I18nPackage::getGlobalMiddleware() | 12 | 7 | |
I18nMiddleware::process() | 4 | 21 | |
I18nPackage::addToContainer() | 3 | 16 | |
LocaleLink::locale() | 2 | 3 | |
TranslatorFactory::createTranslator() | 2 | 16 | |
I18nPackage::getMiddleware() | 2 | 11 | |
Translate::register() | 1 | 4 | |
Translate::__construct() | 1 | 3 | |
Translate::translate() | 1 | 3 | |
I18nMiddleware::__construct() | 1 | 6 | |