ALEXR_Ajax_Actions D

Total Complexity 179
Dependencies 13
Dependents 0
Total lines 1,386
Lines of code 870
Logical lines of code 494
Comment lines 230
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
updateBookingValuesFromRequest()
D
31 32 106
make_booking()
C
30 20 122
hold_booking()
B
35 15 87
sendBookingNotifications()
A
44 14 47
get_restaurant_data()
A
41 11 52
confirm_booking()
A
46 9 39
cancel_booking()
A
46 9 37
attachAreaTableSelected()
A
49 9 32
get_service_slots()
A
44 8 44
get_service_slots_AllServices()
A
48 8 34
update_booking_status()
S
48 6 33
get_booking_tags()
S
49 5 30
updateCustomerConditions()
S
56 5 20
isBookingDuplicated()
S
54 4 20
hold_booking_remove()
S
57 4 16
assignOrCreateNewCustomerIfNeeded()
S
58 4 16
get_service_slots_OneService()
S
50 3 30
loadAjaxActions()
S
48 2 38
get_fields()
S
56 3 17
get_booking()
S
57 3 15
search_bookings()
S
52 2 25
modify_booking()
S
81 1 3
verify_nonce()
S
74 1 4
__construct()
S
82 1 3