Percentage | Lines | ||
---|---|---|---|
LocaleServiceProvider |
|
0 % | 22 |
Locale |
|
56 % | 140 |
HasSupportedTrait |
|
83 % | 28 |
CRAP Score | Lines | ||
---|---|---|---|
Locale::getFromINI() | 6 | 7 | |
Locale::setCurrent() | 6 | 6 | |
Locale::getCurrent() | 6 | 7 | |
Locale::initCurrent() | 6 | 7 | |
HasSupportedTrait::getSupported() | 5 | 15 | |
Locale::getDataFromFile() | 4 | 17 | |
Locale::getOption() | 3 | 16 | |
Locale::getData() | 3 | 9 | |
Locale::hasDataFile() | 2 | 3 | |
LocaleServiceProvider::registerLocale() | 2 | 3 | |