WC_Payments_Express_Checkout_Ajax_Handler A

Total Complexity 67
Dependencies 7
Dependents 3
Total lines 427
Lines of code 275
Logical lines of code 160
Comment lines 67
Methods 10
Properties 1

Methods 10

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
ajax_create_order()
S
53 5 24
ajax_get_cart_details()
S
58 3 18
ajax_update_shipping_method()
S
58 3 14
ajax_get_shipping_options()
S
56 2 18
ajax_empty_cart()
S
64 3 9
__construct()
S
81 1 3
init()
S
66 1 8