Code Analysis: WooCommerce - Fondy payment gateway 3.0.3

Function Rating Maintainability Complexity Lines of code
WC_Fondy_Payment_Gateway::callbackHandler()
A
45 13 38
WC_Gateway_Fondy_LocalMethods::__construct()
A
50 9 25
WC_Gateway_Fondy_Bank::__construct()
A
50 9 25
WC_Fondy_Subscriptions_Compat::scheduled_subscription_payment()
A
45 7 39
WC_Gateway_Fondy_Card::__construct()
A
46 7 38
WC_Fondy::updateSettings()
A
49 7 32
WC_Gateway_Fondy_Card::process_refund()
S
49 6 30
WC_Fondy_API::sendToAPI()
S
52 6 23
WC_Gateway_Fondy_Card::init_form_fields()
S
39 1 84
WC_Fondy_Payment_Gateway::fondy_get_pages()
S
55 5 20
WC_Fondy_Payment_Gateway::__construct()
S
54 4 20
WC_Fondy_Payment_Gateway::process_payment()
S
55 4 18
WC_Fondy_Payment_Gateway::getIntegrationTypes()
S
60 4 13
WC_Fondy_Payment_Gateway::getPaymentOrderStatuses()
S
61 4 12
WC_Fondy_Subscriptions_Compat::saveToken()
S
60 4 12
WC_Fondy_API::getSignature()
S
61 4 11
WC_Fondy_API::validateRequest()
S
62 4 11
WC_Fondy_Pre_Orders_Compat::process_pre_order_payments()
S
55 3 17
WC_Fondy_Payment_Gateway::getReservationDataProducts()
S
57 3 17
WC_Fondy_Subscriptions_Compat::has_subscription()
S
77 4 3
WC_Fondy_Subscriptions_Compat::subscriptionsProcessPaymentComplete()
S
60 3 13
WC_Fondy_Subscriptions_Compat::subscriptionsPaymentParams()
S
62 3 11
WC_Fondy::isAcceptableEnv()
S
62 3 11
WC_Fondy_Payment_Gateway::getReservationData()
S
53 2 20
WC_Fondy::__construct()
S
55 2 18
WC_Gateway_Fondy_Bank::init_form_fields()
S
50 1 33
WC_Gateway_Fondy_LocalMethods::init_form_fields()
S
50 1 31
WC_Fondy_Payment_Gateway::fondyPaymentComplete()
S
63 3 10
WC_Gateway_Fondy_Card::fondyPaymentComplete()
S
70 3 6
WC_Fondy_Payment_Gateway::getCheckoutToken()
S
59 2 13
WC_Fondy_Pre_Orders_Compat::getPreOrdersPaymentParams()
S
73 2 5
WC_Gateway_Fondy_Bank::getPaymentParams()
S
68 2 7
WC_Fondy_Payment_Gateway::getResponseUrl()
S
78 2 3
WC_Fondy::getInstance()
S
71 2 6
WC_Fondy_Payment_Gateway::getEmail()
S
65 2 9
WC_Fondy_Payment_Gateway::getPaymentParams()
S
58 1 14
WC_Fondy_Pre_Orders_Compat::getPreOrdersNotice()
S
74 1 4
WC_Gateway_Fondy_LocalMethods::getPaymentOptions()
S
68 1 7
WC_Fondy_API::getSecretKey()
S
80 1 3
WC_Fondy_Payment_Gateway::getCallbackUrl()
S
78 1 3
WC_Fondy_API::getCheckoutUrl()
S
75 1 4
WC_Fondy_API::recurring()
S
78 1 3
WC_Fondy_Payment_Gateway::getPaymentOptions()
S
68 1 8
WC_Fondy_Subscriptions_Compat::__construct()
S
66 1 7
WC_Gateway_Fondy_Card::admin_options()
S
77 1 4
WC_Fondy_API::setMerchantID()
S
80 1 3
WC_Fondy::woocommerce_fondy_php_not_supported_notice()
S
73 1 4
WC_Fondy::__wakeup()
S
80 1 3
WC_Fondy_API::getCheckoutToken()
S
75 1 4
WC_Fondy_Payment_Gateway::clearCache()
S
76 1 3
WC_Fondy::add_gateways()
S
71 1 6
WC_Fondy_Pre_Orders_Compat::__construct()
S
68 1 6
WC_Fondy_API::getMerchantID()
S
80 1 3
WC_Fondy_Subscriptions_Compat::isTokenAlreadySaved()
S
74 1 4
WC_Gateway_Fondy_Bank::getPaymentOptions()
S
68 1 7
WC_Fondy_Payment_Gateway::get_transaction_url()
S
76 1 4
WC_Fondy::woocommerce_fondy_wc_not_supported_notice()
S
74 1 4
WC_Fondy_API::setSecretKey()
S
80 1 3
WC_Fondy::plugin_action_links()
S
65 1 10
WC_Fondy_API::capture()
S
78 1 3
WC_Fondy_Payment_Gateway::getFondyOrderID()
S
80 1 3
WC_Gateway_Fondy_Card::getPaymentOptions()
S
68 1 7
WC_Fondy_Payment_Gateway::createFondyOrderID()
S
70 1 6
WC_Fondy_API::reverse()
S
78 1 3
WC_Fondy_Payment_Gateway::getLanguage()
S
78 1 3
woocommerce_gateway_fondy()
S
82 1 3