Code Analysis: Charge Anywhere Payment Gateway For WooCommerce 3.0

Most Complex Classes

Class Rating Complexity
WC_Gateway_ChargeAnywhere
D
180
WC_ChargeAnywhere_Payments
S
12
WC_Gateway_ChargeAnywhere_Blocks_Support
S
7

Most Complex Functions

Function Rating Complexity
WC_Gateway_ChargeAnywhere::process_refund()
D
51
WC_Gateway_ChargeAnywhere::generate_authorize_form()
D
32
WC_Gateway_ChargeAnywhere::check_authorize_response()
C
27
validate_payment_form()
A
13
WC_Gateway_ChargeAnywhere::init_form_fields()
A
1
WC_Gateway_ChargeAnywhere::__construct()
A
10
WC_Gateway_ChargeAnywhere::post_transaction()
A
9
WC_Gateway_ChargeAnywhere::process_capture()
A
10
WC_Gateway_ChargeAnywhere::process_payment()
A
8
WC_Gateway_ChargeAnywhere::get_payload()
S
5
WC_ChargeAnywhere_Payments::add_gateway()
S
5
WC_Gateway_ChargeAnywhere_Blocks_Support::get_payment_method_script_handles()
S
3