Percentage | Lines | ||
---|---|---|---|
JsonDecodeException |
|
0 % | 9 |
JsonEncodeException |
|
0 % | 9 |
Version |
|
0 % | 16 |
JSONEncoder |
|
67 % | 40 |
Result |
|
85 % | 107 |
Connection |
|
93 % | 236 |
Database |
|
100 % | 247 |
EventArgs |
|
100 % | 28 |
BatchUpdater |
|
100 % | 75 |
CRAP Score | Lines | ||
---|---|---|---|
Database::insert() | 12 | 26 | |
Connection::createDatabase() | 6 | 38 | |
Connection::dropDatabase() | 5 | 25 | |
JSONEncoder::encode() | 3 | 16 | |
Database::findAll() | 3 | 16 | |
Database::findDocuments() | 3 | 18 | |
JSONEncoder::decode() | 2 | 16 | |
Result::getFirstRow() | 2 | 11 | |
Result::getLastRow() | 2 | 11 | |
Connection::__construct() | 2 | 5 | |