WC_Ecster_Ajax A

Total Complexity 75
Dependencies 5
Dependents 0
Total lines 609
Lines of code 371
Logical lines of code 243
Comment lines 169
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
ajax_update_cart()
S
49 6 30
ajax_create_cart()
S
49 6 29
helper_add_customer_data_to_local_order()
S
51 6 25
ajax_on_customer_authenticated()
S
49 5 29
ajax_fail_local_order()
S
54 5 20
helper_add_order_shipping()
S
55 5 18
helper_maybe_add_invoice_fee()
S
54 4 20
helper_add_customer_data_to_session()
S
58 4 15
helper_add_order_tax_rows()
S
64 5 8
ajax_on_changed_delivery_address()
S
52 3 25
helper_add_items_to_local_order()
S
52 3 24
__construct()
S
54 3 20
ajax_on_payment_success()
S
55 3 20
helper_add_order_fees()
S
61 3 11
ajax_on_checkout_error()
S
53 2 24
helper_maybe_create_local_order()
S
59 2 15
helper_add_order_coupons()
S
66 3 8
helper_calculate_order_cart_hash()
S
66 2 8
helper_calculate_order_totals()
S
70 2 7
helper_calculate_cart_totals()
S
75 1 5
helper_add_invoice_fees_to_session()
S
80 1 3
add_order_payment_method()
S
69 1 7