| Percentage | Lines | ||
|---|---|---|---|
| ExpiredTokenException |
|
0 % | 2 |
| InvalidRequestException |
|
0 % | 2 |
| LogicException |
|
0 % | 2 |
| HttpClient |
|
90 % | 162 |
| HttpException |
|
100 % | 62 |
| ApiKeyAuthentication |
|
100 % | 17 |
| Configuration |
|
100 % | 90 |
| Client |
|
100 % | 276 |
| CRAP Score | Lines | ||
|---|---|---|---|
| HttpException::exceptionClass() | 7 | 17 | |
| Client::requestAndParseTextResponse() | 5 | 34 | |
| Client::sendSMS() | 4 | 27 | |
| HttpClient::send() | 3 | 19 | |
| HttpClient::prepareQueryString() | 3 | 10 | |
| Client::requestAndExtractDetails() | 3 | 15 | |
| Client::makeRequest() | 3 | 14 | |
| HttpClient::prepareOptions() | 2 | 21 | |
| HttpClient::getLogger() | 2 | 3 | |
| HttpClient::request() | 2 | 13 | |