WPHB_Ajax D

Total Complexity 129
Dependencies 8
Dependents 0
Total lines 862
Lines of code 684
Logical lines of code 298
Comment lines 58
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
admin_add_order_item()
C
35 23 79
ajax_add_to_cart()
B
35 21 81
check_room_available()
A
43 10 51
add_extra_to_cart()
A
45 8 45
load_order_item()
S
45 5 42
ajax_remove_item_cart()
S
51 6 26
admin_remove_order_items()
S
52 6 23
apply_coupon()
S
50 5 28
add_coupon_to_order()
S
51 5 26
admin_remove_order_item()
S
54 5 21
__construct()
S
48 4 36
remove_coupon_on_order()
S
53 4 23
load_room_ajax()
S
53 4 23
load_order_user()
S
56 4 18
load_coupon_ajax()
S
50 3 30
load_other_full_calendar()
S
50 3 30
fetch_customer_info()
S
53 3 23
load_room_type_galley()
S
59 3 15
dismiss_notice()
S
63 2 12
parse_search_params()
S
55 1 21
parse_booking_params()
S
57 1 18
remove_coupon()
S
64 2 10
place_order()
S
82 1 3