Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
F | MercadoPago\Http\CurlClient::request() | 0 | 48 | 18 | 18.23 | 0 | 0 | 0 |
C | MercadoPago\Http\GuzzleClient::request() | 0 | 16 | 8 | 8 | 0 | 0 | 0 |
B | MercadoPago\Http\Response::parseCauses() | 0 | 12 | 8 | 8 | 0 | 0 | 0 |
B | MercadoPago\MercadoPago::getAccessToken() | 0 | 18 | 5 | 5.01 | 0 | 0 | 0 |
A | MercadoPago\MercadoPago::setCredentials() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | MercadoPago\Http\Response::get() | 0 | 8 | 3 | 3 | 0 | 0 | 0 |
A | MercadoPago::getPreapprovalPayment() | 10 | 5 | 1 | 1 | 0 | 0 | 0 |
A | MercadoPago\MercadoPago::searchPayments() | 0 | 6 | 2 | 2 | 0 | 0 | 0 |
A | MercadoPago\MercadoPago::handleResponse() | 0 | 4 | 2 | 2 | 0 | 0 | 0 |
A | MercadoPago::updatePreapprovalPayment() | 10 | 6 | 1 | 1 | 0 | 0 | 0 |
A | MercadoPago\MercadoPago::createPreference() | 10 | 6 | 1 | 1 | 0 | 0 | 0 |
A | MercadoPago::getAuthorizedPayment() | 10 | 5 | 1 | 1 | 0 | 0 | 0 |
A | MercadoPago\Http\Response::__construct() | 0 | 3 | 1 | 1 | 0 | 0 | 0 |
A | MercadoPago\Http\Response::exists() | 0 | 6 | 3 | 3.33 | 0 | 0 | 0 |
A | MercadoPago\MercadoPago::updatePreference() | 10 | 6 | 1 | 1 | 0 | 0 | 0 |