| Percentage | Lines | ||
|---|---|---|---|
| Response |
|
42 % | 616 |
| Validation |
|
52 % | 205 |
| ErrorException |
|
56 % | 39 |
| Application |
|
64 % | 243 |
| Route |
|
65 % | 283 |
| XenforoPassword |
|
65 % | 109 |
| Addons |
|
69 % | 485 |
| DbDef |
|
77 % | 271 |
| DjangoPassword |
|
78 % | 109 |
| MySqlDb |
|
85 % | 954 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Response::flushHeaders() | 90 | 45 | |
| Addons::scanFile() | 78 | 53 | |
| Response::globalHeaders() | 56 | 26 | |
| Validation::status() | 56 | 20 | |
| formatting-functions.php ➔ format_duration() | 42 | 24 | |
| Addons::all() | 42 | 19 | |
| ResourceRoute::dispatch() | 29 | 155 | |
| core-functions.php ➔ array_column_php() | 25 | 62 | |
| DbDef::index() | 23 | 41 | |
| MySqlDb::buildWhere() | 22 | 75 | |