WC_Payments_Express_Checkout_Ajax_Handler B

Total Complexity 94
Dependencies 12
Dependents 3
Total lines 591
Lines of code 374
Logical lines of code 216
Comment lines 113
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
ajax_get_selected_product_data()
B
34 22 77
ajax_pay_for_order()
A
44 15 40
ajax_add_to_cart()
A
39 13 65
tokenized_cart_store_api_address_normalization()
A
49 10 30
tokenized_cart_set_payment_method_type()
A
51 8 26
ajax_create_order()
S
53 5 24
init()
S
51 3 28
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
ajax_get_shipping_options()
S
56 2 18
maybe_skip_postcode_validation()
S
65 3 9
__construct()
S
81 1 3