VikBookingAvailability D

Total Complexity 372
Dependencies 7
Dependents 1
Total lines 2,349
Lines of code 1,268
Logical lines of code 850
Comment lines 738
Methods 47
Properties 18

Methods 47

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
createInquiryReservation()
B
37 18 73
getRates()
B
38 15 67
allocateAltPartyInquiry()
A
43 14 47
explainErrorCode()
A
50 13 28
countNightsOfStay()
A
49 10 31
allocateAltDatesInquiry()
A
50 9 28
findSuggestions()
A
52 9 24
sortBiggerRoomSolutions()
A
56 9 17
loadRatePlans()
A
51 8 27
loadRooms()
S
46 6 41
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
filterPublishedRooms()
S
65 3 9
getBookingDetails()
S
60 2 15
getInstance()
S
71 3 6
setBackForthDays()
S
70 3 6
loadSplitStayBusyRecords()
S
60 2 15
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
getDefaultNightsTransfersRatio()
S
75 1 4
isFrontBooking()
S
81 1 3
setIsFrontBooking()
S
76 1 4
getRoomParties()
S
82 1 3
getTaxRates()
S
73 1 5
getNightsTransfersRatio()
S
82 1 3
getRoomIds()
S
82 1 3
setRooms()
S
77 1 4
getBackForthDays()
S
82 1 3
setWarning()
S
76 1 4
getWarning()
S
79 1 3
setError()
S
76 1 4
getError()
S
79 1 3
getErrorCode()
S
82 1 3