Code Analysis: CHIP for WooCommerce 1.6.8

Most Complex Functions

Function Rating Complexity
WC_Gateway_Chip::process_payment()
D
56
WC_Gateway_Chip::payment_fields()
C
27
WC_Gateway_Chip::handle_callback_order()
C
24
WC_Gateway_Chip::bypass_chip()
B
19
WC_Gateway_Chip::auto_charge()
B
15
WC_Gateway_Chip::process_payment_method_change()
A
14
WC_Gateway_Chip::handle_payment_method_change()
A
15
WC_Gateway_Chip::validate_fields()
A
17
WC_Gateway_Chip::process_pre_order_payments()
A
13
WC_Gateway_Chip::init_form_fields()
A
1
WC_Gateway_Chip_Blocks_Support::get_payment_method_data()
A
12
Chip_Woocommerce_Migration::v_127_to_130()
A
9