| Percentage | Lines | ||
|---|---|---|---|
| Project |
|
50 % | 28 |
| QueryBuilder |
|
82 % | 24 |
| ActiveRecord |
|
100 % | 7 |
| ActiveQuery |
|
100 % | 12 |
| Connection |
|
100 % | 17 |
| CRAP Score | Lines | |
|---|---|---|
| QueryBuilder::buildUri() | 3 | 8 |
| QueryBuilder::buildQueryParams() | 3 | 12 |
| Project::primaryKey() | 2 | 4 |
| ActiveRecord::getDb() | 1 | 4 |
| Connection::getDb() | 1 | 4 |
| ActiveQuery::count() | 1 | 9 |
| Project::rules() | 1 | 20 |