Percentage | Lines | ||
---|---|---|---|
BelongsTo |
|
0 % | 28 |
HasOne |
|
0 % | 28 |
HasMany |
|
0 % | 28 |
ModelHandler |
|
0 % | 35 |
ArrayHandler |
|
0 % | 20 |
DateTimeHandler |
|
0 % | 48 |
Finder |
|
0 % | 52 |
QueryBuilder |
|
0 % | 252 |
HasValidationTrait |
|
0 % | 198 |
IntHandler |
|
0 % | 16 |
CRAP Score | Lines | ||
---|---|---|---|
HasValidationTrait::saveWithValidation() | 132 | 40 | |
Model::save() | 90 | 34 | |
QueryBuilder::generateCallback() | 56 | 50 | |
HasAttributes::setAttribute() | 42 | 34 | |
HasValidationTrait::validate() | 42 | 28 | |
HasTimestamps::updateTimestamps() | 30 | 8 | |
Model::equals() | 30 | 15 | |
DateTimeHandler::toType() | 20 | 19 | |
Model::delete() | 20 | 17 | |
Model::__clone() | 12 | 10 | |