Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | Message\PurchaseResponse::__construct() | 0 | 48 | 12 | 12 | 0 | 0 | 0 |
B | Message\PurchaseRequest::sendRequest() | 0 | 20 | 2 | 2 | 0 | 0 | 0 |
A | PurchaseResponse::isSuccessful() | 0 | 5 | 4 | 4 | 0 | 0 | 0 |
A | Message\PurchaseResponse::getCode() | 0 | 4 | 4 | 4 | 0 | 0 | 0 |
A | Message\PurchaseResponse::getMessage() | 0 | 7 | 4 | 4 | 0 | 0 | 0 |
A | Message\PurchaseRequest::getData() | 0 | 15 | 1 | 1 | 0 | 0 | 0 |
A | Message\PurchaseRequest::sendData() | 0 | 2 | 1 | 1 | 0 | 0 | 0 |
A | OCBC\Gateway::getDefaultParameters() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | Omnipay\OCBC\Gateway::purchase() | 0 | 2 | 1 | 1 | 0 | 0 | 0 |
A | PurchaseRequest::getHttpMethod() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Omnipay\OCBC\Gateway::getPassword() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | PurchaseRequest::setCustomerId() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Omnipay\OCBC\Gateway::getAccessToken() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | PurchaseRequest::setAccessToken() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Omnipay\OCBC\Gateway::setPassword() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |