RP_AJAX D

Total Complexity 252
Dependencies 3
Dependents 0
Total lines 1,436
Lines of code 1,135
Logical lines of code 712
Comment lines 254
Methods 44
Properties 0

Methods 44

Method Rating Maintainability Complexity Lines of code
update_cart_items()
C
37 24 63
activate_addon_license()
B
37 18 66
add_to_cart()
B
37 18 65
load_addon_child()
B
37 17 67
fooditem_search()
B
39 17 59
reorder()
A
35 13 83
edit_cart_fooditem()
A
41 14 50
show_products()
A
42 11 46
deactivate_addon_license()
A
47 8 32
check_for_fooditem_price_variations()
A
44 6 47
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
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
get_states()
S
54 3 21
remove_from_cart()
S
55 3 19
show_order_details()
S
56 3 17
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
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