VikBookingAvailability D

Total Complexity 409
Dependencies 11
Dependents 1
Total lines 2,642
Lines of code 1,420
Logical lines of code 940
Comment lines 829
Methods 50
Properties 18

Methods 50

Method Rating Maintainability Complexity Lines of code
findSplitStays()
D
16
72 235
findClosestRoomDateSolutions()
D
25
44 155
matchSolutionsParty()
D
29 43 126
getInventory()
D
30 31 116
getOrphanDates()
C
30 27 112
createInquiryReservation()
B
37 18 73
getRates()
B
38 15 68
allocateAltPartyInquiry()
A
43 14 47
explainErrorCode()
A
50 13 28
loadRooms()
A
44 10 45
countNightsOfStay()
A
49 10 31
loadRatePlans()
A
50 10 29
allocateAltDatesInquiry()
A
50 9 28
findSuggestions()
A
52 9 24
sortBiggerRoomSolutions()
A
56 9 17
roomNightsAllowed()
S
55 6 17
setStayDates()
S
52 5 26
getPartyGuests()
S
57 5 17
getTariffId()
S
59 5 13
getDerivedRatePlans()
S
64 5 9
filterRoomCategories()
S
54 3 20
getInstance()
S
71 3 6
loadSplitStayBusyRecords()
S
60 2 15
getBookingDetails()
S
60 2 15
filterPublishedRooms()
S
65 3 9
setBackForthDays()
S
70 3 6
getRoomByName()
S
58 2 14
setRoomParty()
S
62 2 12
getDefaultPaymentId()
S
63 2 10
setRoomIds()
S
69 2 7
setNightsTransfersRatio()
S
68 2 8
__construct()
S
72 2 5
ignoreAvailability()
S
72 2 6
ignoreRestrictions()
S
72 2 6
getStayDates()
S
80 2 3
loadRoomCategories()
S
61 1 13
getError()
S
79 1 3
setError()
S
76 1 4
getWarning()
S
79 1 3
setWarning()
S
76 1 4
getBackForthDays()
S
82 1 3
setRooms()
S
77 1 4
getRoomIds()
S
82 1 3
getTaxRates()
S
73 1 5
setIsFrontBooking()
S
76 1 4
isFrontBooking()
S
81 1 3
getRoomParties()
S
82 1 3
getDefaultNightsTransfersRatio()
S
75 1 4
getNightsTransfersRatio()
S
82 1 3
getErrorCode()
S
82 1 3