Percentage | Lines | ||
---|---|---|---|
DataBaseModel |
|
56 % | 249 |
DataBaseQuery |
|
95 % | 223 |
DataBaseConnection |
|
100 % | 52 |
ArgumentNotFoundException |
|
100 % | 12 |
ArgumentNumberIncorrectException |
|
100 % | 12 |
EmptyArrayException |
|
100 % | 12 |
FieldUndefinedException |
|
100 % | 12 |
IdNotFoundException |
|
100 % | 12 |
NoDataFoundException |
|
100 % | 12 |
NoRecordCreatedException |
|
100 % | 12 |
CRAP Score | Lines | ||
---|---|---|---|
DataBaseModel::save() | 42 | 31 | |
DataBaseModel::getById() | 6 | 8 | |
DataBaseQuery::read() | 4 | 18 | |
DataBaseQuery::update() | 4 | 26 | |
DataBaseModel::destroy() | 4 | 20 | |
DataBaseModel::getAll() | 4 | 14 | |
DataBaseModel::findById() | 3 | 18 | |
DataBaseQuery::delete() | 3 | 20 | |
DataBaseQuery::create() | 3 | 24 | |
DataBaseConnection::loadEnv() | 2 | 6 | |