Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B HasValidationTrait::saveWithValidation() 0 26 11 132 4 0 0
B Ronanchilvers\Orm\Model::save() 0 21 9 90 3 0 0
B QueryBuilder::generateCallback() 0 36 7 56 5 0 0
A Traits\HasValidationTrait::validate() 0 19 6 42 2 0 0
A Features\HasAttributes::setAttribute() 0 18 6 42 2 0 0
A Ronanchilvers\Orm\Model::equals() 0 9 5 30 1 0 0
A HasTimestamps::updateTimestamps() 0 5 5 30 1 0 0
A Ronanchilvers\Orm\Model::persistUpdate() 0 18 2 6 3 0 0
A Features\HasAttributes::getAttribute() 0 13 4 6.85 1 0 0
A Features\Relationship\HasOne::hasOne() 0 12 3 12 1 0 0
A Features\Relationship\HasMany::hasMany() 0 12 3 12 1 0 0
A Ronanchilvers\Orm\Model::persistInsert() 0 12 2 6 3 0 0
A Ronanchilvers\Orm\QueryBuilder::query() 0 12 3 12 2 0 0
A Ronanchilvers\Orm\Orm::transaction() 0 12 3 12 0 0 0
A Relationship\BelongsTo::belongsTo() 0 12 3 12 1 0 0