| Percentage | Lines | ||
|---|---|---|---|
| RepositoryFactory |
|
100 % | 58 |
| ModelWrapper |
|
100 % | 81 |
| QueryParameter |
|
100 % | 218 |
| Repository |
|
100 % | 185 |
| CRAP Score | Lines | ||
|---|---|---|---|
| QueryParameter::orderBy() | 6 | 25 | |
| QueryParameter::where() | 5 | 33 | |
| QueryParameter::createConditionsFromArray() | 5 | 23 | |
| RepositoryFactory::create() | 5 | 13 | |
| QueryParameter::validateValueForOperator() | 4 | 11 | |
| QueryParameter::extractConditionConfig() | 4 | 19 | |
| QueryParameter::createInCondition() | 3 | 11 | |
| Repository::sum() | 2 | 10 | |
| Repository::average() | 2 | 10 | |
| Repository::count() | 2 | 9 | |