Percentage | Lines | ||
---|---|---|---|
Client |
|
67 % | 115 |
Credentials |
|
100 % | 25 |
Route |
|
100 % | 39 |
Router |
|
100 % | 20 |
CRAP Score | Lines | ||
---|---|---|---|
Client::callApi() | 12 | 15 | |
Router::get() | 6 | 6 | |
Client::getClient() | 5 | 14 | |
Credentials::__construct() | 3 | 10 | |
Client::updateDevice() | 2 | 3 | |
Client::getDevices() | 2 | 3 | |
Client::deleteDevice() | 2 | 3 | |
Client::getDevice() | 2 | 3 | |
Client::withEndpoint() | 2 | 8 | |
Route::__construct() | 2 | 8 | |