Code Analysis: WooCommerce Payrexx Gateway 3.0.29

Function Rating Maintainability Complexity Lines of code
PayrexxPaymentGateway\Util\BasketUtil::createBasketByCart()
B
35 18 84
WC_Payrexx_Gateway_SubscriptionBase::process_payment()
B
36 15 80
PayrexxPaymentGateway\Service\OrderService::handleTransactionStatus()
A
45 15 42
PayrexxPaymentGateway\Webhook\Dispatcher::check_webhook_response()
A
41 13 50
PayrexxPaymentGateway\Service\PayrexxApiService::refund_transaction()
A
44 10 43
PayrexxPaymentGateway\Service\PayrexxApiService::createPayrexxGateway()
A
40 9 56
PayrexxPaymentGateway\Service\OrderService::transition_allowed()
A
53 9 23
WC_Payrexx_Gateway::payment_scripts()
A
51 8 23
WC_Payrexx_Gateway_Block_Base::get_payment_logo()
S
51 7 25
WC_Payrexx_Gateway_SubscriptionBase::scheduled_subscription_payment()
S
53 6 22
WC_Payrexx_Gateway_Base::get_icon()
S
54 6 19
PayrexxPaymentGateway\Helper\SubscriptionHelper::isSubscription()
S
58 6 16
PayrexxPaymentGateway\Util\StatusUtil::determineNewOrderStatus()
S
66 7 7
PayrexxPaymentGateway\Helper\PaymentHelper::handleError()
S
55 5 18
WC_Payrexx_Gateway_Base::process_payment()
S
53 4 22
WC_Payrexx_Gateway_Block_Base::get_payment_method_data()
S
55 4 20
WC_Payrexx_Gateway::loaded()
S
53 3 26
PayrexxPaymentGateway\Util\StatusUtil::getAmountByStatusAndGateway()
S
62 4 10
WC_Payrexx_Gateway::register_hooks()
S
52 2 29
WC_Payrexx_Gateway::register_block_payment_methods()
S
60 3 14
WC_Payrexx_Gateway_Base::process_redirect()
S
58 3 14
WC_Payrexx_Gateway_SubscriptionBase::init_settings()
S
59 3 14
WC_Payrexx_Gateway_Admin::migrate_data()
S
59 3 13
WC_Payrexx_Gateway_Base::__construct()
S
59 3 12
PayrexxPaymentGateway\Util\BasketUtil::createPurposeByBasket()
S
61 3 12
WC_Payrexx_Gateway_Block_Base::get_payment_method_script_handles()
S
56 2 21
WC_Payrexx_Gateway_Admin::register_hooks()
S
53 1 31
PayrexxPaymentGateway\Helper\SubscriptionHelper::isPaymentMethodChange()
S
65 3 9
WC_Payrexx_Gateway::__construct()
S
63 3 10
WC_Payrexx_Gateway_SubscriptionBase::register_hooks()
S
61 2 14
WC_Payrexx_Gateway::include()
S
61 2 13
PayrexxPaymentGateway\Service\PayrexxApiService::chargeTransaction()
S
61 2 12
PayrexxPaymentGateway\Service\PayrexxApiService::deleteGatewayById()
S
62 2 11
PayrexxPaymentGateway\Service\PayrexxApiService::getPayrexxTransaction()
S
62 2 11
PayrexxPaymentGateway\Service\PayrexxApiService::getPayrexxGateway()
S
62 2 11
WC_Payrexx_Gateway_Block_Base::get_subscription_checkbox()
S
59 1 16
PayrexxPaymentGateway\Helper\PaymentHelper::getCancelUrl()
S
70 2 5
PayrexxPaymentGateway\Service\OrderService::transitionOrder()
S
64 2 10
PayrexxPaymentGateway\Service\OrderService::setOrderPaid()
S
69 2 7
PayrexxPaymentGateway\Service\PayrexxApiService::getInterface()
S
73 2 4
PayrexxPaymentGateway\Util\BasketUtil::getBasketAmount()
S
66 2 8
PayrexxPaymentGateway\Webhook\Dispatcher::send_response()
S
65 2 9
WC_Payrexx_Gateway_Admin::instance()
S
71 2 6
WC_Payrexx_Gateway_SubscriptionBase::gateway_subscription_checkbox()
S
64 2 9
WC_Payrexx_Gateway::instance()
S
71 2 6
WC_Payrexx_Gateway::init()
S
64 2 9
PayrexxPaymentGateway\Helper\SubscriptionHelper::get_supported_features()
S
63 1 13
WC_Payrexx_Gateway::define_constants()
S
70 1 11
WC_Payrexx_Gateway_PostFinanceCard::__construct()
S
72 1 5
WC_Payrexx_Gateway_Maestro::__construct()
S
72 1 5
WC_Payrexx_Gateway_Base::register_hooks()
S
68 1 9
WC_Payrexx_Gateway_Twint::__construct()
S
72 1 5
WC_Payrexx_Gateway_GooglePay::__construct()
S
72 1 5
WC_Payrexx_Gateway_Xmoney::__construct()
S
72 1 5
WC_Payrexx_Gateway_Mastercard::__construct()
S
72 1 5
WC_Payrexx_Gateway_Visa::__construct()
S
72 1 5
WC_Payrexx_Gateway_Masterpass::__construct()
S
72 1 5
PayrexxPaymentGateway\Service\PayrexxApiService::__construct()
S
71 1 6
WC_Payrexx_Gateway_BankTransfer::__construct()
S
72 1 5
WC_Payrexx_Gateway_PostFinanceEFinance::__construct()
S
72 1 5
WC_Payrexx_Gateway_Amex::__construct()
S
72 1 5
WC_Payrexx_Gateway_Base::init_form_fields()
S
79 1 3
WC_Payrexx_Gateway_Wirpay::__construct()
S
72 1 5
WC_Payrexx_Gateway_Admin::plugin_action_links()
S
68 1 6
WC_Payrexx_Gateway::getOrderService()
S
80 1 3
WC_Payrexx_Gateway_Klarna::__construct()
S
72 1 5
WC_Payrexx_Gateway_Admin::settings_content()
S
81 1 3
WC_Payrexx_Gateway_Base::process_refund()
S
64 1 10
WC_Payrexx_Gateway_Admin::settings_save()
S
77 1 4
WC_Payrexx_Gateway_ApplePay::__construct()
S
72 1 5
WC_Payrexx_Gateway_DinersClub::__construct()
S
72 1 5
WC_Payrexx_Gateway_PostFinancePay::__construct()
S
72 1 5
WC_Payrexx_Gateway_SamsungPay::__construct()
S
72 1 5
WC_Payrexx_Gateway_Base::getCancelUrl()
S
91 1 2
WC_Payrexx_Gateway_Centi::__construct()
S
72 1 5
WC_Payrexx_Gateway_PayByBank::__construct()
S
72 1 5
WC_Payrexx_Gateway_Admin::get_settings()
S
79 1 3
WC_Payrexx_Gateway_Block_Base::is_active()
S
78 1 3
WC_Payrexx_Gateway_Invoice::__construct()
S
72 1 5
WC_Payrexx_Gateway_Paypal::__construct()
S
72 1 5
WC_Payrexx_Gateway_Boncard::__construct()
S
72 1 5
WC_Payrexx_Gateway_Heidipay::__construct()
S
72 1 5
WC_Payrexx_Gateway_Powerpay::__construct()
S
72 1 5
WC_Payrexx_Gateway_SubscriptionBase::init_form_fields()
S
72 1 5
WC_Payrexx_Gateway_Reka::__construct()
S
72 1 5
WC_Payrexx_Gateway_Block_Base::initialize()
S
78 1 3
WC_Payrexx_Gateway_Base::init_settings()
S
68 1 7
WC_Payrexx_Gateway_Admin::__construct()
S
75 1 4
WC_Payrexx_Gateway_Admin::add_settings_tab()
S
76 1 4
WC_Payrexx_Gateway_SubscriptionBase::__construct()
S
81 1 3
WC_Payrexx_Gateway::getPayrexxApiService()
S
67 1 8
WC_Payrexx_Gateway_Discover::__construct()
S
72 1 5
PayrexxPaymentGateway\Webhook\Dispatcher::__construct()
S
74 1 5
WC_Payrexx_Gateway_Payrexx::__construct()
S
73 1 5
PayrexxPaymentGateway\Helper\PaymentHelper::getOrderTimeHash()
S
78 1 3