-
Home
-
RestroPress – Online Food Ordering System
-
2.8.3.2
-
Code
-
Classes
- RP_AJAX
Total Complexity |
217 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
1,511 |
Lines of code |
949 |
Logical lines of code |
594 |
Comment lines |
220 |
Methods |
40 |
Properties |
0 |
Methods 40
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
update_cart_items() |
C |
37 |
24 |
63 |
activate_addon_license() |
B |
38 |
18 |
65 |
add_to_cart() |
B |
38 |
18 |
63 |
load_addon_child() |
B |
38 |
17 |
62 |
fooditem_search() |
B |
39 |
17 |
59 |
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 |
update_order_status() |
S |
53 |
7 |
20 |
apply_discount() |
S |
45 |
5 |
41 |
show_products() |
S |
48 |
5 |
33 |
customer_search() |
S |
48 |
5 |
33 |
add_addon() |
S |
58 |
6 |
14 |
search_users() |
S |
50 |
5 |
27 |
add_ajax_events() |
S |
45 |
3 |
48 |
user_search() |
S |
50 |
4 |
30 |
clear_cart() |
S |
54 |
4 |
20 |
define_ajax() |
S |
62 |
5 |
10 |
add_category() |
S |
63 |
5 |
8 |
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 |
19 |
do_rp_ajax() |
S |
60 |
3 |
13 |
get_order_details() |
S |
60 |
3 |
12 |
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 |
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 |
68 |
1 |
7 |
more_order_history() |
S |
66 |
1 |
8 |
init() |
S |
72 |
1 |
5 |