RP_AJAX D

Total Complexity 250
Dependencies 3
Dependents 0
Total lines 1,837
Lines of code 1,187
Logical lines of code 707
Comment lines 252
Methods 44
Properties 0

Methods 44

Method Rating Maintainability Complexity Lines of code
update_cart_items()
C
37 24 63
load_addon_child()
B
33 17 98
activate_addon_license()
B
37 18 67
add_to_cart()
B
37 18 65
fooditem_search()
B
39 17 59
edit_cart_fooditem()
A
41 14 50
reorder()
A
36 12 78
show_products()
A
42 11 46
check_for_fooditem_price_variations()
A
41 6 62
deactivate_addon_license()
A
47 8 31
check_new_orders()
S
46 6 36
update_order_status()
S
53 7 20
apply_discount()
S
45 5 41
customer_search()
S
48 5 33
add_addon()
S
58 6 14
search_users()
S
50 5 27
add_ajax_events()
S
44 3 52
user_search()
S
50 4 30
get_states()
S
48 3 36
clear_cart()
S
54 4 20
delete_user_address()
S
56 4 18
define_ajax()
S
62 5 10
add_category()
S
63 5 8
get_order_details()
S
58 4 14
rp_ajax_headers()
S
59 4 13
default_user_address()
S
52 3 24
recalculate_taxes()
S
53 3 22
remove_from_cart()
S
55 3 19
do_rp_ajax()
S
60 3 13
show_delivery_options()
S
61 3 11
add_price()
S
66 3 7
admin_order_addon_items()
S
65 3 8
remove_discount()
S
59 2 14
show_order_details()
S
60 2 13
checkout_update_service_option()
S
57 1 16
more_order_history()
S
66 1 8
init()
S
72 1 5
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
68 1 7
remove_fees_after_empty_cart()
S
66 1 8