WPHB_Ajax D

Total Complexity 135
Dependencies 9
Dependents 0
Total lines 912
Lines of code 721
Logical lines of code 319
Comment lines 64
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
admin_add_order_item()
C
35 23 80
ajax_add_to_cart()
B
34 22 85
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
create_pages()
S
48 5 32
apply_coupon()
S
50 5 28
add_coupon_to_order()
S
51 5 26
__construct()
S
48 4 37
admin_remove_order_item()
S
54 5 21
load_room_ajax()
S
53 4 23
remove_coupon_on_order()
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
54 3 22
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