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 | Request\Transaction::getByTransaction() | 0 | 12 | 2 | 1 | 0 | 0 |
A | Request\Transaction::getByOrderCode() | 0 | 12 | 2 | 1 | 0 | 0 |
A | Services\AccessToken::getAccessToken() | 0 | 12 | 1 | 1 | 0 | 0 |
A | AccessToken::getWebhookValidationToken() | 0 | 10 | 1 | 1 | 0 | 0 |
A | Enums\TransactionType::fromValue() | 0 | 4 | 3 | 1 | 0 | 0 |
A | Enums\WebhookEventType::fromValue() | 0 | 4 | 3 | 1 | 0 | 0 |
A | VivaPayments\Request\Customer::setPhone() | 0 | 4 | 3 | 1 | 0 | 0 |
A | CreatePaymentOrder::getCustomer() | 0 | 1 | 1 | 1 | 0 | 0 |
A | VivaPayments\Services\CurlWrapper::put() | 0 | 3 | 1 | 1 | 0 | 0 |
A | VivaPayments\Enums\OrderStatus::type() | 0 | 5 | 1 | 1 | 0 | 0 |