Percentage | Lines | ||
---|---|---|---|
Model |
|
100 % | 69 |
Credo |
|
100 % | 163 |
PaginateTrait |
|
100 % | 79 |
CredoTrait |
|
100 % | 73 |
Repository |
|
100 % | 14 |
ValidateTrait |
|
100 % | 40 |
Loader |
|
100 % | 23 |
CRAP Score | Lines | ||
---|---|---|---|
PaginateTrait::offset() | 4 | 13 | |
PaginateTrait::prepare() | 4 | 20 | |
Credo::__construct() | 4 | 19 | |
Credo::where() | 2 | 9 | |
Credo::get() | 2 | 5 | |
ValidateTrait::validate() | 2 | 17 | |
Loader::repository() | 2 | 15 | |
ValidateTrait::errors() | 1 | 3 | |
Credo::boot() | 1 | 12 | |
Credo::find() | 1 | 3 | |