Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | MoTranslator\Loader::listLocales() | 0 | 34 | 12 | 12 | 3 | 0 | 0 |
B | MoTranslator\MoParser::parseIntoCache() | 0 | 31 | 7 | 7 | 2 | 0 | 0 |
A | MoTranslator\Loader::getTranslator() | 0 | 18 | 6 | 6 | 2 | 0 | 0 |
A | MoTranslator\Tests\LoaderTest::localeList() | 0 | 41 | 1 | ? | 0 | 0 | 0 |
A | MoFilesTest::testMoFilePlurals() | 0 | 15 | 5 | ? | 2 | 0 | 0 |
A | Tests\LoaderTest::translatorData() | 0 | 25 | 1 | ? | 0 | 0 | 0 |
A | Tests\LoaderTest::testDetectEnv() | 0 | 25 | 3 | ? | 1 | 0 | 0 |
A | MoTranslator\Loader::detectlocale() | 0 | 12 | 5 | 5 | 0 | 0 | 0 |
A | TranslatorTest::testGetSetTranslations() | 0 | 21 | 1 | ? | 3 | 0 | 0 |
A | PluralTest::testNgettextSelectString() | 0 | 20 | 1 | ? | 3 | 0 | 0 |
A | Tests\LoaderTest::testInstance() | 0 | 20 | 1 | ? | 0 | 0 | 0 |
A | MoTranslator\Translator::selectString() | 0 | 10 | 5 | 5 | 0 | 0 | 0 |
A | MoTranslator\Cache\ApcuCache::reloadOnMiss() | 0 | 8 | 5 | 5 | 0 | 0 | 0 |
A | LoaderTest::testSetCacheFactory() | 0 | 18 | 1 | ? | 1 | 0 | 0 |
A | PluralFormulaTest::pluralExpressions() | 0 | 15 | 1 | ? | 0 | 0 | 0 |