WPHB_Ajax D

Total Complexity 129
Dependencies 8
Dependents 0
Total lines 784
Lines of code 606
Logical lines of code 297
Comment lines 58
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
admin_add_order_item()
C
35 23 77
ajax_add_to_cart()
B
35 21 76
check_room_available()
A
46 10 39
add_extra_to_cart()
A
48 8 33
ajax_remove_item_cart()
S
53 6 21
admin_remove_order_items()
S
53 6 21
load_order_item()
S
47 5 36
apply_coupon()
S
50 5 28
add_coupon_to_order()
S
51 5 24
__construct()
S
48 4 36
admin_remove_order_item()
S
55 5 19
remove_coupon_on_order()
S
54 4 21
load_room_ajax()
S
56 4 18
load_order_user()
S
57 4 15
load_other_full_calendar()
S
52 3 24
load_coupon_ajax()
S
53 3 22
fetch_customer_info()
S
54 3 22
load_room_type_galley()
S
59 3 15
parse_booking_params()
S
57 1 18
parse_search_params()
S
57 1 18
remove_coupon()
S
64 2 10
dismiss_notice()
S
65 2 10
place_order()
S
82 1 3