WC_Stripe_Express_Checkout_Ajax_Handler A

Total Complexity 63
Dependencies 9
Dependents 3
Total lines 415
Lines of code 251
Logical lines of code 153
Comment lines 84
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
ajax_get_selected_product_data()
B
35 19 77
ajax_pay_for_order()
A
44 14 41
ajax_add_to_cart()
A
46 11 34
modify_country_locale_for_express_checkout()
S
61 4 12
ajax_update_shipping_method()
S
57 3 15
ajax_get_shipping_options()
S
56 2 18
ajax_get_cart_details()
S
57 2 17
ajax_clear_cart()
S
64 3 9
ajax_log_errors()
S
69 2 6
init()
S
60 1 12
__construct()
S
81 1 3
ajax_normalize_address()
S
67 1 7