Percentage | Lines | ||
---|---|---|---|
Model |
|
100 % | 35 |
Query |
|
100 % | 224 |
Schema |
|
100 % | 199 |
Relationship |
|
100 % | 276 |
Record |
|
100 % | 432 |
RelationshipFiller |
|
100 % | 182 |
Repository |
|
100 % | 238 |
StaticSchema |
|
100 % | 40 |
GenericConnectionProvider |
|
100 % | 48 |
MySqlConnectionProvider |
|
100 % | 46 |
CRAP Score | Lines | ||
---|---|---|---|
RelationshipFiller::fillRelationships() | 13 | 54 | |
MySqlConnection::bindQueryParameter() | 7 | 15 | |
Relationship::assignSortedRecords() | 7 | 21 | |
Record::associate() | 7 | 33 | |
Query::generateModels() | 6 | 22 | |
Schema::getRelationship() | 6 | 20 | |
Relationship::__construct() | 6 | 29 | |
Relationship::getSortedRecords() | 6 | 26 | |
Relationship::fillSingleRecord() | 6 | 25 | |
Repository::getPrimaryKeyCondition() | 6 | 26 | |