Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B BelongsToThroughRelationsHook::run() 0 14 10 3 0 0
A BelongsToThrough::belongsToThrough() 0 22 4 7 0 0
A BelongsToThrough::performJoins() 0 10 5 0 0 0
A BelongsToThrough::getRelationExistenceQuery() 0 11 2 1 0 0
A BelongsToThrough::hasSoftDeletes() 0 1 1 0 0 0
A BelongsToThrough::newRelatedInstanceFor() 0 1 1 0 0 0
A Traits\BelongsToThrough::mapKeys() 0 5 2 0 0 0
A Relations\BelongsToThrough::get() 0 6 3 0 0 0
A BelongsToThrough::buildDictionary() 0 5 2 3 0 0
A BelongsToThrough::getQualifiedFirstLocalKeyName() 0 4 2 0 0 0
A BelongsToThrough::addEagerConstraints() 0 2 1 3 0 0
A BelongsToThrough::newBelongsToThrough() 0 1 1 1 0 0
A Relations\BelongsToThrough::withTrashed() 0 8 4 1 0 0
A Relations\BelongsToThrough::first() 0 3 2 0 0 0
A BelongsToThroughRelationsHook::addRelationship() 0 8 1 1 0 0