Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
C | Vipps\Api\Payment::initiatePayment() | 0 | 63 | 10 | 0 | 0 | 0 |
B | VippsException::createFromResponse() | 0 | 37 | 7 | 0 | 0 | 0 |
A | Exceptions\VippsException::parsePhrase() | 0 | 31 | 5 | 0 | 0 | 0 |
A | zaporylie\Vipps\Client::__construct() | 0 | 26 | 4 | 0 | 0 | 0 |
A | Vipps\Client::httpClientDiscovery() | 0 | 13 | 5 | 0 | 0 | 0 |
A | Vipps\Api\Payment::refundPayment() | 24 | 24 | 2 | 0 | 0 | 0 |
A | Vipps\Api\Payment::capturePayment() | 22 | 22 | 2 | 0 | 0 | 0 |
A | PaymentResourceBase::__construct() | 0 | 18 | 1 | 0 | 0 | 0 |
A | Vipps\Api\Payment::cancelPayment() | 0 | 18 | 1 | 0 | 0 | 0 |
A | Resource\ResourceBase::handleRequest() | 0 | 18 | 3 | 0 | 0 | 0 |
A | Resource\ResourceBase::handleResponse() | 0 | 17 | 3 | 0 | 0 | 0 |
A | Payment\GetPaymentDetails::call() | 15 | 15 | 1 | 0 | 0 | 0 |
A | Payment\CapturePayment::__construct() | 0 | 15 | 1 | 0 | 0 | 0 |
A | Payment\RefundPayment::__construct() | 0 | 15 | 1 | 0 | 0 | 0 |
A | Resource\Payment\CapturePayment::call() | 0 | 15 | 1 | 0 | 0 | 0 |