Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Message\PurchaseRequest::getData() | 0 | 37 | 6 | 6 | 2 | 0 | 1 |
A | CompletePurchaseResponse::__construct() | 0 | 20 | 4 | 20 | 1 | 0 | 1 |
A | GatewayTest::test_purchase_connected_account() | 0 | 14 | 1 | ? | 1 | 0 | 0 |
A | CompletePurchaseRequestTest::test_sendData() | 0 | 14 | 1 | ? | 1 | 0 | 1 |
A | GatewayTest::test_purchase_redirect() | 0 | 11 | 1 | ? | 1 | 0 | 0 |
A | Message\PurchaseRequest::sendData() | 0 | 10 | 2 | 2 | 1 | 0 | 0 |
A | CompletePurchaseRequest::parseNotification() | 0 | 9 | 2 | 6 | 1 | 0 | 1 |
A | PurchaseResponse::initViewVars() | 0 | 4 | 1 | 1 | 1 | 0 | 0 |
A | Message\PurchaseRequest::nullIfEmpty() | 0 | 1 | 2 | 2 | 1 | 0 | 0 |
A | PurchaseResponse::generateViewPath() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Traits\HasKeysTrait::setApiKey() | 0 | 1 | 1 | ? | 1 | 0 | 0 |
A | Payments\Stripe\Gateway::purchase() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | CompletePurchaseResponse::isSuccessful() | 0 | 1 | 1 | 2 | 1 | 0 | 1 |
A | CompletePurchaseRequest::updateParametersFromGateway() | 0 | 2 | 1 | 2 | 1 | 0 | 1 |
A | PurchaseResponse::getSessionID() | 0 | 1 | 2 | 2 | 1 | 0 | 0 |