Code Analysis: PayPro Gateways - WooCommerce 3.1.1

Most Complex Functions

Function Rating Complexity
PayPro_WC_Gateway_Abstract::processRenewalPayment()
B
21
PayPro_WC_PaymentHandler::onReturn()
A
13
PayPro_WC_Gateway_Abstract::process_refund()
A
7
paypro_wc_plugin_activation()
A
7
PayPro_WC_SettingsPage::output()
A
6
PayPro_WC_Gateway_Abstract::process_payment()
A
7
PayPro_WC_Order::findOrCreateCustomer()
S
6
PayPro_WC_WebhookHandler::validateWebhook()
S
5
PayPro_WC_PaymentHandler::getOrderFromUrl()
S
5
PayPro_WC_SettingsPage::getPayproSettingsSection()
S
2
PayPro_WC_SettingsPage::updateApiKey()
S
5
PayPro_WC_Gateway_Abstract::initSupports()
S
4