Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
B | CreatePaymentOrder::redirectUrl() | 0 | 18 | 8 | 1 | 0 | 0 |
A | VivaPayments\Services\CurlWrapper::execute() | 0 | 20 | 4 | 1 | 0 | 0 |
A | Request\CreatePaymentOrder::send() | 0 | 20 | 3 | 1 | 0 | 0 |
A | VivaPayments\Config\Config::loadConfigFile() | 0 | 9 | 5 | 1 | 0 | 0 |
A | Transaction::getByTransactionV2() | 0 | 13 | 2 | 1 | 0 | 0 |
A | Services\AccessToken::getAccessToken() | 0 | 12 | 1 | 1 | 0 | 0 |
A | Request\Transaction::getByTransaction() | 0 | 12 | 2 | 1 | 0 | 0 |
A | Request\Transaction::getByOrderCode() | 0 | 12 | 2 | 1 | 0 | 0 |
A | AccessToken::getWebhookValidationToken() | 0 | 10 | 1 | 1 | 0 | 0 |
A | VivaPayments\Config\Config::getEnvConfig() | 0 | 2 | 1 | 1 | 0 | 0 |
A | Services\CurlWrapper::setOption() | 0 | 1 | 1 | 1 | 0 | 0 |
A | VivaPayments\Enums\RequestLang::fromValue() | 0 | 4 | 3 | 1 | 0 | 0 |
A | Enums\PaymentMethods::fromValue() | 0 | 4 | 3 | 1 | 0 | 0 |
A | Services\AccessToken::__construct() | 0 | 6 | 3 | 1 | 0 | 0 |
A | CreatePaymentOrder::getOrderCode() | 0 | 1 | 1 | 1 | 0 | 0 |