Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B CompletePurchaseResponseTrait::isSuccessful() 13 7 5 30 1 0 1
B CompletePurchaseResponseTrait::isPending() 11 6 5 30 1 0 1
B Message\PurchaseRequest::getData() 0 18 1 1 0 0 0
B Omnipay\Twispay\Helper::decrypt() 0 13 5 30 0 0 0
A PurchaseRequestTest::newPurchaseRequest() 0 4 1 ? 1 0 1
A AbstractResponse::isSuccessful() 0 3 2 6 0 0 0
A Twispay\Helper::generateChecksum() 0 5 1 1 0 0 0
A Omnipay\Twispay\Gateway::setTestMode() 0 3 1 1 0 0 0
A Message\PurchaseRequest::initialize() 0 3 3 3 0 0 0
A PurchaseRequestTest::testSendIdentifierAutoSet() 0 15 1 ? 1 0 1
A Tests\GatewayTest::testGetSecureUrl() 0 12 1 ? 1 0 1
A Omnipay\Twispay\Gateway::getApiUrl() 0 4 2 2.03 0 0 0
A HelperTest::testGenerateChecksum() 0 4 1 ? 1 0 1
A Twispay\Gateway::completePurchase() 0 3 1 2 0 0 0
A Omnipay\Twispay\Gateway::getSecureUrl() 0 4 2 2 0 0 0