WC_Payments_Express_Checkout_Ajax_Handler B

Total Complexity 76
Dependencies 8
Dependents 3
Total lines 501
Lines of code 264
Logical lines of code 150
Comment lines 164
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
ajax_add_to_cart()
A
39 13 65
tokenized_cart_store_api_address_normalization()
A
49 10 30
get_normalized_state_from_ece_states()
A
55 9 18
tokenized_cart_set_payment_method_type()
A
51 8 26
transform_ece_address_state_data()
S
52 7 24
is_express_checkout_context()
S
60 4 13
get_normalized_state_from_wc_states()
S
62 4 11
get_normalized_state()
S
64 4 10
transform_ece_address_postcode_data()
S
63 3 11
init()
S
55 2 21
maybe_skip_postcode_validation()
S
65 3 9
get_normalized_postal_code()
S
65 3 9
modify_country_locale_for_express_checkout()
S
63 3 10
is_normalized_state()
S
74 2 4
__construct()
S
81 1 3