Code

Rating Name Duplication Size Complexity   CRAP Changes Bugs Features
C RelationshipFiller::fillRelationships() 0 37 13 13 0 0 0
B Simply\Database\Record::associate() 0 19 7 7 0 0 0
B MySqlConnection::bindQueryParameter() 0 13 7 7 0 0 0
B Relationship::assignSortedRecords() 0 14 7 7 0 0 0
A Database\Relationship::__construct() 0 14 6 6 0 0 0
A Repository::getPrimaryKeyCondition() 0 13 6 6 0 0 0
A Relationship::getSortedRecords() 0 14 6 6 0 0 0
A Database\Schema::getRelationship() 0 11 6 6 0 0 0
A Relationship::fillSingleRecord() 0 14 6 6 0 0 0
A Database\Query::generateModels() 0 12 6 6 0 0 0
A Connection\MySqlConnection::formatClause() 0 15 5 5 0 0 0
A Database\RelationshipFiller::fill() 0 10 5 5 0 0 0
A Record::getAllReferencedRecords() 0 9 5 5 0 0 0
A Record::getRelatedModelsByProxy() 0 13 5 5 0 0 0
A Connection\MySqlConnection::query() 0 7 4 4 0 0 0