WC_Payments_Express_Checkout_Ajax_Handler B

Total Complexity 90
Dependencies 11
Dependents 3
Total lines 578
Lines of code 362
Logical lines of code 210
Comment lines 112
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
ajax_get_selected_product_data()
B
35 21 76
ajax_pay_for_order()
A
44 15 40
ajax_add_to_cart()
A
39 13 65
tokenized_cart_store_api_address_normalization()
A
51 8 27
tokenized_cart_set_payment_method_type()
A
51 8 26
ajax_create_order()
S
53 5 24
ajax_get_cart_details()
S
58 3 18
ajax_update_shipping_method()
S
58 3 14
transform_ece_address_state_data()
S
63 3 11
transform_ece_address_postcode_data()
S
63 3 11
init()
S
55 2 20
ajax_get_shipping_options()
S
56 2 18
maybe_skip_postcode_validation()
S
65 3 9
__construct()
S
81 1 3