WC_Payments_Express_Checkout_Ajax_Handler S

Total Complexity 50
Dependencies 4
Dependents 3
Total lines 344
Lines of code 209
Logical lines of code 119
Comment lines 66
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
ajax_add_to_cart()
A
39 13 65
ajax_pay_for_order()
A
44 14 42
add_order_meta()
S
55 6 18
ajax_create_order()
S
59 4 15
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
67 1 7