Code Analysis: emerchantpay Gateway Module for WooCommerce 1.14.7

Most Complex Functions

Function Rating Complexity
Genesis\API\Constants\Errors::getErrorDescription()
D
88
Genesis\API\Constants\Errors::getIssuerResponseCode()
D
71
WC_emerchantpay_Method::build_business_attributes_form_fields()
C
1
WC_emerchantpay_Method::do_refund()
C
20
WC_emerchantpay_Method::update_order_status_refunded()
B
19
WC_emerchantpay_Method::updateOrderStatus()
B
19
WC_emerchantpay_Transactions_Tree::get_transaction_tree()
B
17
WC_Emerchantpay_Direct::process_init_subscription_payment()
A
13
WC_emerchantpay_Transaction::importResponse()
A
15
WC_emerchantpay_Method::capture()
A
11
WC_Emerchantpay_Direct::process_order_payment()
A
11
WC_emerchantpay_Checkout::addCustomParametersToTrxTypes()
A
12