Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
C | bSecure\Order::setCartItems() | 0 | 27 | 12 | 1 | 0 | 0 |
B | Order::_setProductOptionsDataStructure() | 0 | 12 | 9 | 1 | 0 | 0 |
B | bSecure\Order::_setCustomer() | 0 | 13 | 8 | 1 | 0 | 0 |
B | HttpClient\CurlClient::handleCurlError() | 0 | 22 | 7 | 1 | 0 | 0 |
B | bSecure\bSecure::getAuthToken() | 0 | 12 | 7 | 2 | 0 | 0 |
A | CurlClient::executeRequestWithRetries() | 0 | 20 | 5 | 1 | 0 | 0 |
A | bSecure\Order::_setOrderPayload() | 0 | 29 | 4 | 1 | 0 | 0 |
A | bSecure\OAuth::_getClientSecret() | 0 | 14 | 5 | 1 | 0 | 0 |
A | bSecure\OAuth::_getClientId() | 0 | 14 | 5 | 1 | 0 | 0 |
A | HttpClient\CurlClient::request() | 0 | 22 | 4 | 1 | 0 | 0 |
A | ApiRequest::handleErrorResponse() | 0 | 10 | 5 | 1 | 0 | 0 |
A | bSecure\ApiRequest::_specificAPIError() | 0 | 5 | 5 | 1 | 0 | 0 |
A | bSecure\ApiRequest::_requestRaw() | 0 | 13 | 2 | 1 | 0 | 0 |
A | bSecure\SSO::setAuthenticationPayload() | 0 | 12 | 2 | 1 | 0 | 0 |
A | Exception\ApiErrorException::factory() | 0 | 11 | 3 | 1 | 0 | 0 |