Code Analysis: 2C2P Redirect API for WooCommerce 7.0.3

Most Complex Functions

Function Rating Complexity
wc_2c2p_hash_helper::wc_2c2p_create_hashvalue()
D
68
WC_2C2P_Meta_Data_Helper::wc_2c2p_store_response_meta()
D
63
WC_Gateway_2c2p::check_2c2p_response()
D
36
wc_2c2p_hash_helper::wc_2c2p_is_valid_hash()
C
33
fun2c2p_init()
B
2
WC_Gateway_2c2p::generate_2c2p_form()
A
13
WC_2C2P_Validation_Helper::wc_2c2p_is_valid_merchant_request()
A
14
WC_2c2p_currency::get_currency_code()
A
1
WC_Gateway_2c2p::payment_fields()
S
7
wp_2c2p_remove_stored_card_Id_ajax()
S
7
WC_2C2P_Validation_Helper::wc_2c2p_validate_currency_exponent()
S
6
wc_2c2p_construct_request_helper::wc_2c2p_construct_request()
S
6