WC_Stripe_Express_Checkout_Ajax_Handler A

Total Complexity 60
Dependencies 7
Dependents 2
Total lines 389
Lines of code 239
Logical lines of code 144
Comment lines 69
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
ajax_get_selected_product_data()
B
35 19 76
ajax_pay_for_order()
A
45 14 39
ajax_add_to_cart()
A
47 10 32
ajax_update_shipping_method()
S
57 3 15
ajax_create_order()
S
61 3 13
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
62 1 11
__construct()
S
81 1 3