| Percentage | Lines | ||
|---|---|---|---|
| Transaction |
|
70 % | 156 |
| Command |
|
79 % | 79 |
| PdoAdapter |
|
82 % | 98 |
| ColumnSchema |
|
86 % | 75 |
| QueryBuilder |
|
89 % | 670 |
| Schema |
|
93 % | 973 |
| ColumnSchemaBuilder |
|
100 % | 18 |
| Connection |
|
100 % | 130 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Schema::insert() | 90 | 52 | |
| Connection::init() | 56 | 32 | |
| QueryBuilder::createTable() | 42 | 38 | |
| QueryBuilder::dropTable() | 30 | 32 | |
| Schema::loadColumnSchema() | 23 | 123 | |
| ColumnSchema::typecast() | 21 | 56 | |
| Schema::findConstraints() | 20 | 39 | |
| Schema::setTransactionIsolationLevel() | 20 | 12 | |
| Schema::getLastInsertID() | 20 | 15 | |
| QueryBuilder::upsert() | 16 | 68 | |