Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B TranslatableTrait::getTranslation() 0 17 9 3 0 0
A AbstractTranslation::setTranslatable() 0 6 2 1 0 0
A TranslatableTrait::matchTranslation() 0 8 3 0 0 0
A AssignLocaleListener::__construct() 0 0 1 1 0 0
A ApiPlatformTranslationExtension::load() 0 4 1 0 0 0
A AssignLocaleListener::assignLocale() 0 6 2 0 0 0
A TranslatableTrait::addTranslation() 0 4 3 1 0 0
A AssignLocaleListener::postLoad() 0 1 1 1 0 0
A TranslatableTrait::setCurrentLocale() 0 1 1 1 0 0
A ApiPlatformTranslationBundle\Translation\Translator::trans() 0 3 2 0 0 0
A AbstractTranslation::getTranslatable() 0 1 1 1 0 0
A TranslatableTrait::getTranslationLocales() 0 4 2 1 0 0
A AbstractTranslatable::__construct() 0 1 1 1 0 0
A TranslatableTrait::setFallbackLocale() 0 1 1 1 0 0
A Translation\Translator::loadCurrentLocale() 0 8 4 1 0 0