Code Analysis: WooCommerce Payrexx Gateway 1.9.8

Function Rating Maintainability Complexity Lines of code
PayrexxPaymentGateway\Controller\PaymentController::createBasketByCart()
B
39 15 65
wc_offline_gateway_init()
A
23
1 262
PayrexxPaymentGateway\Service\OrderService::handleTransactionStatus()
A
42 15 51
WC_Payrexx_Gateway::process_payment()
A
36 13 78
PayrexxPaymentGateway\Webhook\Dispatcher::check_webhook_response()
A
42 12 47
WC_Payrexx_Gateway::get_icon()
A
54 9 16
WC_Payrexx_Gateway::mutateDescription()
A
48 7 36
PayrexxPaymentGateway\Service\SubscriptionService::process_recurring_payment()
S
54 6 21
PayrexxPaymentGateway\Util\StatusUtil::determineNewOrderStatus()
S
66 7 7
PayrexxPaymentGateway\Util\CartUtil::isSubscription()
S
61 6 12
PayrexxPaymentGateway\Service\PayrexxApiService::createPayrexxGateway()
S
45 4 39
WC_Payrexx_Gateway::handleError()
S
58 4 14
WC_Payrexx_Gateway::__construct()
S
57 3 16
PayrexxPaymentGateway\Util\CartUtil::getOrderType()
S
69 4 6
WC_Payrexx_Gateway::mutateTitle()
S
67 4 7
PayrexxPaymentGateway\Util\StatusUtil::getAmountByStatusAndGateway()
S
62 4 10
WC_Payrexx_Gateway::register_hooks()
S
54 2 20
WC_Payrexx_Gateway::init_settings()
S
57 2 16
PayrexxPaymentGateway\Util\CartUtil::isAutomaticSubscription()
S
71 3 5
PayrexxPaymentGateway\Util\CartUtil::isManualSubscription()
S
71 3 5
PayrexxPaymentGateway\Service\OrderService::setOrderPaid()
S
65 3 10
PayrexxPaymentGateway\Service\PayrexxApiService::chargeTransaction()
S
61 2 12
PayrexxPaymentGateway\Controller\PaymentController::createPurposeByBasket()
S
61 2 12
PayrexxPaymentGateway\Service\PayrexxApiService::getPayrexxTransaction()
S
62 2 11
PayrexxPaymentGateway\Service\PayrexxApiService::deleteGatewayById()
S
62 2 11
PayrexxPaymentGateway\Service\PayrexxApiService::getPayrexxGateway()
S
62 2 11
PayrexxPaymentGateway\Service\PayrexxApiService::getInterface()
S
73 2 4
PayrexxPaymentGateway\Controller\PaymentController::getBasketAmount()
S
66 2 8
PayrexxPaymentGateway\Webhook\Dispatcher::send_response()
S
65 2 9
PayrexxPaymentGateway\Util\CartUtil::isPaymentMethodChange()
S
76 2 4
woocommerce_gateway_payrexx_init()
S
72 2 6
WC_Payrexx_Gateway::getCancelUrl()
S
70 2 5
wc_payrexx_add_to_gateways()
S
77 1 4
PayrexxPaymentGateway\Service\SubscriptionService::__construct()
S
81 1 3
PayrexxPaymentGateway\Webhook\Dispatcher::__construct()
S
74 1 5
PayrexxPaymentGateway\Service\PayrexxApiService::__construct()
S
69 1 7
WC_Payrexx_Gateway::load_dependencies()
S
65 1 10
PayrexxPaymentGateway\Service\OrderService::getCustomTransactionStatus()
S
79 1 3
WC_Payrexx_Gateway::init_components()
S
64 1 9
WC_Payrexx_Gateway::init_form_fields()
S
80 1 3
WC_Payrexx_Gateway::getOrderTimeHash()
S
78 1 3