ALEXR_Ajax_Actions D

Total Complexity 181
Dependencies 19
Dependents 0
Total lines 1,588
Lines of code 893
Logical lines of code 512
Comment lines 371
Methods 23
Properties 7

Methods 23

Method Rating Maintainability Complexity Lines of code
updateBookingValuesFromRequest()
D
29 34 115
make_booking()
B
29 19 132
hold_booking()
B
34 16 89
sendBookingNotifications()
B
42 16 59
get_restaurant_data()
B
38 15 65
get_service_slots()
A
40 9 61
cancel_booking()
A
44 10 43
confirm_booking()
A
45 9 41
attachAreaTableSelected()
A
49 9 32
update_booking_status()
S
47 6 35
get_booking_tags()
S
49 5 30
updateCustomerConditions()
S
56 5 20
isBookingDuplicated()
S
53 4 22
assignOrCreateNewCustomerIfNeeded()
S
57 4 18
hold_booking_remove()
S
57 4 16
loadAjaxActions()
S
47 2 41
get_fields()
S
56 3 17
get_booking()
S
57 3 15
search_bookings()
S
52 2 25
getShowAlternativeDays()
S
67 3 7
modify_booking()
S
81 1 3
verify_nonce()
S
74 1 4
__construct()
S
82 1 3