Code Analysis: TapTree Payments for WooCommerce 1.2.4

Function Rating Maintainability Complexity Lines of code
TapTree\WooCommerce\Gateway\PaymentMethodImageBuilder::set_payment_images()
C
40 26 55
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::validate_api_keys()
B
39 17 67
TapTree\WooCommerce\Payment\PaymentService::onPaymentGatewayWebhookCalled()
B
36 14 80
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::__construct()
A
40 11 56
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::generate_api_key_html()
A
42 8 57
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::process_refund()
A
44 7 45
TapTree\WooCommerce\Log\WcPsrLoggerAdapter::log()
A
54 8 20
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getInstructions()
A
49 7 33
TapTree\WooCommerce\Payment\PaymentService::handle_payment_status_authorized()
S
45 6 39
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::displayInstructions()
S
48 6 38
TapTree\WooCommerce\Gateway\GatewayModule::tapTreeReturnRedirect()
S
47 6 36
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::asciiDomainName()
S
57 7 15
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::generate_payment_method_logos_html()
S
51 6 26
TapTree\WooCommerce\Gateway\GatewayModule::orderByRequest()
S
54 6 21
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::action_cart_calculate_totals()
S
56 6 18
TapTree\WooCommerce\Log\WcPsrLoggerAdapter::getReplacements()
S
60 6 12
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::isApiKeyValid()
S
62 6 12
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::idnEncodeDomain()
S
56 5 21
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getCartTotal()
S
55 5 19
TapTree\WooCommerce\Shared\SharedModule::services()
S
49 4 33
initialize()
S
52 4 26
TapTree\WooCommerce\Api\TapTreeApi::parse_response_safe()
S
61 5 11
TapTree\WooCommerce\Payment\PaymentService::handle_payment_status_paid()
S
53 4 23
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::isOrderPaid()
S
58 4 16
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::set_payment_description()
S
62 5 10
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::save_payment_method_logos()
S
62 4 11
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::process_payment()
S
53 3 23
TapTree\WooCommerce\Api\TapTreeApi::intent_params_builder()
S
43 1 52
TapTree\WooCommerce\Payment\PaymentService::handle_payment_status_expired()
S
56 3 17
TapTree\WooCommerce\SDK\HttpResponse::setHttpResponseCode()
S
65 4 9
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::thankyou_page()
S
59 3 15
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getOrderRedirectUrl()
S
57 2 18
TapTree\WooCommerce\Payment\PaymentService::walletName()
S
71 3 6
TapTree\WooCommerce\Payment\PaymentService::getPaymentMethodDetails()
S
64 3 9
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::alterOption()
S
65 3 9
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getImpact()
S
72 3 5
TapTree\WooCommerce\Payment\PaymentService::handle_payment_status_canceled()
S
58 2 14
TapTree\WooCommerce\Log\LogModule::services()
S
62 2 12
TapTree\WooCommerce\Api\TapTreeApi::create_refund()
S
51 1 27
TapTree\WooCommerce\Api\TapTreeApi::get_impact_info()
S
54 1 22
TapTree\WooCommerce\Gateway\GatewayModule::instantiatePaymentMethodGateways()
S
54 1 22
TapTree\WooCommerce\Payment\PaymentService::paymentBrandName()
S
56 1 18
TapTree\WooCommerce\Gateway\GatewayModule::services()
S
57 1 18
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getImpactTitle()
S
68 2 7
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::init_payment_method_logos()
S
68 2 7
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::isPaidByOtherGateway()
S
74 2 4
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getPaymentTitle()
S
72 2 6
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::unsetActiveTapTreePayment()
S
66 2 9
TapTree\WooCommerce\Payment\PaymentService::handle_payment_WOO_STATUS_COMPLETED()
S
66 2 8
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getReturnUrl()
S
59 1 15
TapTree\WooCommerce\Gateway\GatewayModule::run()
S
58 1 15
TapTree\WooCommerce\Payment\PaymentService::getPaymentMethodName()
S
69 2 7
TapTree\WooCommerce\Api\TapTreeApi::capture_payment()
S
59 1 15
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::get_icon()
S
74 2 4
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::orderDoesNotExistFailure()
S
61 1 14
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getWebhookUrl()
S
59 1 14
errorNotice()
S
63 1 13
TapTree\WooCommerce\Api\TapTreeApi::get_payment()
S
61 1 13
TapTree\WooCommerce\Api\TapTreeApi::get_acceptor_data()
S
61 1 13
TapTree\WooCommerce\Notice\AdminNotice::addNotice()
S
64 1 12
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::appendOrderArgumentsToUrl()
S
64 1 11
TapTree\WooCommerce\Payment\PaymentService::isFinalOrderStatus()
S
63 1 11
TapTree\WooCommerce\Payment\PaymentService::__construct()
S
68 1 7
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::isTapTreeAvailable()
S
72 1 5
TapTree\WooCommerce\Notice\NoticeModule::services()
S
70 1 7
handleException()
S
68 1 9
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::isOrderPaidWithTapTree()
S
79 1 3
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::saveTapTreeInfo()
S
76 1 4
TapTree\WooCommerce\Log\LogModule::__construct()
S
81 1 3
TapTree\WooCommerce\Payment\Payment::getPaymentObject()
S
91 1 2
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::setCancelledTapTreePaymentId()
S
70 1 6
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::getActiveTapTreePaymentId()
S
75 1 4
add_settings_link()
S
63 1 10
register_assets()
S
78 1 3
TapTree\WooCommerce\Payment\PaymentService::setGateway()
S
77 1 4
TapTree\WooCommerce\Payment\Payment::__construct()
S
77 1 4
TapTree\WooCommerce\SDK\SDKModule::run()
S
82 1 3
taptreeWooSession()
S
82 1 3
TapTree\WooCommerce\Api\TapTreeApi::get_length_limited_string()
S
79 1 3
TapTree\WooCommerce\Payment\PaymentService::handle_payment_status_failed()
S
64 1 9
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::setOrderPaidWithTapTree()
S
76 1 4
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::initIcon()
S
69 1 7
TapTree\WooCommerce\Log\WcPsrLoggerAdapter::__construct()
S
70 1 6
has_block()
S
83 1 3
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::reportPaymentIntentCreateFailed()
S
67 1 7
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::init_form_fields()
S
79 1 3
TapTree\WooCommerce\Log\WcPsrLoggerAdapter::interpolate()
S
79 1 3
TapTree\WooCommerce\SDK\SDKModule::services()
S
70 1 7
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::initModal()
S
67 1 9
TapTree\WooCommerce\Api\TapTreeApi::__construct()
S
73 1 5
TapTree\WooCommerce\Gateway\TapTreePaymentGateway::reportPaymentIntentCreateSucceeded()
S
64 1 9
TapTree\WooCommerce\Payment\PaymentService::handle_payment_status_partially_captured()
S
79 1 3
TapTree\WooCommerce\Api\TapTreeApi::create_payment_intent()
S
68 1 8
TapTree\WooCommerce\Log\WcPsrLoggerAdapter::setName()
S
76 1 4
untrailingslashit()
S
80 1 3