RP_AJAX D

Total Complexity 199
Dependencies 3
Dependents 0
Total lines 1,530
Lines of code 962
Logical lines of code 599
Comment lines 227
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
update_cart_items()
B
37 22 63
fooditem_search()
B
37 19 65
activate_addon_license()
B
38 18 65
add_to_cart()
B
38 18 62
load_addon_child()
A
39 11 62
edit_cart_fooditem()
A
46 8 37
deactivate_addon_license()
A
48 8 31
check_for_fooditem_price_variations()
S
45 6 44
check_new_orders()
S
46 6 36
apply_discount()
S
45 5 41
show_products()
S
48 5 33
customer_search()
S
48 5 33
search_users()
S
50 5 27
add_ajax_events()
S
45 3 49
user_search()
S
50 4 30
update_order_status()
S
58 5 14
clear_cart()
S
54 4 19
define_ajax()
S
62 5 10
rp_ajax_headers()
S
59 4 13
recalculate_taxes()
S
53 3 22
get_states()
S
54 3 21
remove_from_cart()
S
55 3 18
update_quantity()
S
55 3 18
admin_order_addon_items()
S
60 3 13
do_rp_ajax()
S
60 3 13
add_addon()
S
59 2 14
remove_discount()
S
59 2 14
show_delivery_options()
S
61 2 11
get_order_details()
S
65 2 9
checkout_update_service_option()
S
63 1 11
checkout_register()
S
77 1 4
checkout_login()
S
77 1 4
get_subtotal()
S
76 1 4
get_endpoint()
S
76 1 3
proceed_checkout()
S
71 1 6
check_service_slot()
S
70 1 6
add_category()
S
65 1 8
add_price()
S
68 1 7
show_order_details()
S
65 1 10
more_order_history()
S
68 1 7
init()
S
72 1 5