Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
C fields\Domains::afterElementSave() 0 70 14 210 0 0 0
B domains\migrations\Install::safeUp() 0 69 1 2 0 0 0
B domains\queries\DomainsQuery::prepare() 0 17 7 56 0 0 0
A domains\actions\AssociateDomain::run() 0 37 5 30 0 0 0
A domains\fields\Domains::inputHtml() 0 38 3 12 0 0 0
A craft\domains\records\Domain::rules() 0 37 1 2 0 0 0
A NormalizeValueTrait::normalizeQueryInputValue() 0 36 3 12 0 0 0
A ModifyElementsQueryTrait::modifyElementsQuery() 0 17 5 30 0 0 0
A DomainsValidator::validateUniqueDomain() 0 32 3 12 0 0 0
A Domains::getElementValidationRules() 0 23 3 12 0 0 0
A domains\actions\DissociateDomain::run() 0 22 3 12 0 0 0
A DomainsValidator::validateDomainModel() 0 21 4 20 0 0 0
A m190109_121422_namespace::safeDown() 0 18 3 12 0 0 0
A ModifyElementsQueryTrait::modifyElementsQueryForTargetValue() 0 18 1 2 0 0 0
A m190109_121422_namespace::safeUp() 0 18 3 12 0 0 0