VikBooking D

Total Complexity 2,913
Dependencies 52
Dependents 154
Total lines 13,234
Lines of code 8,872
Logical lines of code 6,114
Comment lines 2,876
Methods 298
Properties 0

Methods 298

Method Rating Maintainability Complexity Lines of code
applySeasonsRoom()
D
0
293 635
applySeasonalPrices()
D
0
228 533
parseInvoiceTemplate()
D
0
133 436
sendBookingEmail()
D
4
122 324
parseEmailTemplate()
D
5
112 330
applyBookingColorTag()
D
21
84 134
validateRoomRestriction()
D
21
71 154
generateBookingInvoice()
D
17
59 211
displaySMSParameters()
D
23
59 131
displayPaymentParameters()
D
27
44 119
sendBookingSMS()
D
31 35 100
updateSharedCalendars()
D
31 32 109
sayDayMonth()
D
33 31 98
guessBookingLangFromCountry()
C
32 27 96
parseSeasonRestrictions()
C
38 28 67
generateCustomInvoice()
C
32 26 89
getDateSeasonRecords()
C
34 27 72
getRoomUnitNumsAvailable()
C
37 24 67
getChildrenCharges()
B
36 23 71
loadUpsellingData()
B
33 21 95
sayMonth()
B
43 24 41
roomNotLocked()
B
37 21 73
loadOptionAgeIntervals()
B
40 22 53
parseCustomerSMSTemplate()
B
34 20 80
parseCheckinDocTemplate()
B
34 19 86
dateIsValid()
B
49 21 26
getMandatoryTaxesFees()
B
40 19 54
validateRoomPackage()
B
41 19 50
filterOptionalsByParty()
B
48 20 28
getRoomUnitNumsUnavailable()
B
41 18 52
getOtasRatesVal()
B
45 19 35
preferredCountriesOrdering()
B
41 18 50
getRoomUnitDistinctiveFeature()
B
44 18 42
getLogBookingModification()
B
39 17 55
uploadFileFromRequest()
B
37 15 80
validEmail()
B
45 17 39
getVCMSubscriptionStatus()
B
42 16 47
parseCustomInvoiceTemplate()
A
44 16 36
roomBookable()
A
40 14 60
getRoomRplansClosingDates()
A
44 15 42
getOptionIntervalChildOverrides()
A
45 15 36
getRoomRplansClosedInDates()
A
44 14 43
getPaxFields()
A
42 13 53
sortRatePlans()
A
47 14 33
formatSeasonDates()
A
47 14 28
sayWeekDay()
A
51 14 26
loadPreferredColorStyles()
A
40 11 66
findProperItemIdType()
A
48 13 30
invokeChannelManager()
A
51 13 23
getTimeOpenStore()
A
47 12 38
roomRestrictions()
A
51 12 25
getBestRoomRate()
A
52 12 23
getMinDaysAdvance()
A
46 11 36
getDateTimestamp()
A
47 11 33
getSeasonRangeTs()
A
49 11 31
getEmailIcal()
A
43 10 44
getBookingReview()
A
50 11 28
parseAdminSMSTemplate()
A
40 9 58
getChannelsMap()
A
45 10 40
loadBusyRecords()
A
46 10 38
getVcmChannelsLogo()
A
49 10 30
sendBookingInvoice()
A
50 10 25
detectUserAgent()
A
51 10 25
loadRestrictions()
A
46 9 38
validateMaxDateBookings()
A
51 10 21
calcDepositOverride()
A
54 10 21
validateClosingDates()
A
54 10 17
filterOptionalsByDate()
A
56 10 16
areTherePayments()
A
50 9 29
getCustomerDocuments()
A
42 7 55
getCountriesArray()
A
49 8 32
sayCostPlusIva()
A
49 8 31
sayCostMinusIva()
A
48 8 31
loadRoomIndexesBookings()
A
49 8 30
findNonRefundableRates()
A
51 8 26
getTermsConditions()
A
50 8 26
getRoomCaratOriz()
A
50 8 24
getRoomInfo()
A
54 8 21
getNextReceiptNumber()
A
47 7 36
getVcmChatInstance()
A
54 8 20
getOptionIntervalsPercentage()
A
55 8 18
getSMSTemplate()
A
49 7 31
loadAppearancePreferenceAssets()
S
49 7 30
isFileTypeCompatible()
S
50 7 29
getRoomBookingsFromBusyIds()
S
51 7 27
sayOptionalsMinusIva()
S
52 7 25
addAdminEmailRecipient()
S
54 7 24
getClosingDates()
S
52 7 24
getRoomOptionChildNumber()
S
52 7 24
sayOptionalsPlusIva()
S
53 7 22
sayCategory()
S
52 7 22
sayPackagePlusIva()
S
53 7 22
sayPackageMinusIva()
S
53 7 22
loadInvoiceTmpl()
S
48 6 32
loadCustomInvoiceTmpl()
S
48 6 31
loadCheckinDocTmpl()
S
48 6 31
ivaInclusa()
S
51 6 27
showChildrenFront()
S
51 6 27
showCategoriesFront()
S
51 6 27
loadRoomAmenities()
S
51 6 26
getDateSeparator()
S
52 6 25
checkPhonePrefixCountry()
S
52 6 24
showTaxOnSummaryOnly()
S
52 6 24
getRoomOptionals()
S
53 6 22
compareSeasonRestrictionsNights()
S
54 6 21
loadLockedRecords()
S
54 6 20
getMaxDateFuture()
S
55 6 19
globalRestrictions()
S
57 6 17
getFullFrontTitle()
S
49 5 32
parseJsDrangeWdayCombo()
S
59 6 13
restoreMultiDimArrayDiff()
S
60 6 13
canBookingBeReviewed()
S
52 5 24
dayValidTs()
S
54 5 23
tnCustomerRawDataLabel()
S
47 4 38
getPayment()
S
55 5 20
import()
S
56 5 19
getPriceInfo()
S
55 5 19
getSecretLink()
S
56 5 19
caniWrite()
S
55 5 18
preloadSeasonRecords()
S
57 5 16
getFirstCustDataField()
S
57 5 16
getRoomParam()
S
59 5 14
getCountriesSelect()
S
58 5 14
prepareMultiDimArrayDiff()
S
60 5 13
userAgentStyleSheet()
S
61 5 12
getCategoryName()
S
61 5 11
getPreferredColors()
S
53 4 24
cleanSharedCalendarsBusy()
S
53 4 23
getGuestsAllowedPolicy()
S
52 4 23
getDateFormat()
S
54 4 23
getHoursMoreRb()
S
54 4 23
shouldDownloadReviews()
S
54 4 21
getCouponInfo()
S
55 4 20
getGroupDays()
S
56 4 18
loadBookingBusyIds()
S
58 4 16
getDepositOverrides()
S
57 4 16
displayCronParameters()
S
58 4 15
occupancyOverrideExists()
S
63 5 10
sortMultipleResults()
S
59 4 15
addEmailAttachment()
S
60 4 14
formatDateTs()
S
59 4 13
getMinutesLock()
S
61 4 13
getSingleOption()
S
60 4 13
totElements()
S
62 4 12
getOptionIntervalsCosts()
S
60 4 12
getOptionIntervalsAges()
S
60 4 12
addJoomlaUser()
S
52 3 24
getTypeDeposit()
S
53 3 24
guestReviewsServices()
S
54 3 23
getSmartSearchType()
S
55 3 21
getSearchNumChildren()
S
55 3 21
getSearchNumRooms()
S
55 3 21
loadDefaultColorTags()
S
45 1 51
getSearchNumAdults()
S
55 3 21
getReceiptNotes()
S
56 3 20
getChatParams()
S
54 3 20
isRegex()
S
56 3 18
chatEnabled()
S
57 3 17
getFrontTitle()
S
57 3 17
loadAdultsDiff()
S
57 3 17
numberFormat()
S
64 4 8
buildCustData()
S
64 4 9
depositAllowedDaysAdv()
S
63 4 9
getPromotionFactors()
S
64 4 9
getAppearancePref()
S
59 3 15
getPromotionHandlers()
S
64 4 9
allowGuestReviews()
S
58 3 15
getBestColorContrast()
S
61 4 10
loadRoomAdultsDiff()
S
60 3 14
sayDateFormat()
S
59 3 14
getDisclaimer()
S
59 3 14
uploadFile()
S
61 3 13
guestReviewsApproval()
S
61 3 13
guestReviewsType()
S
61 3 13
getPriceAttr()
S
60 3 13
getPriceName()
S
60 3 13
generateConfirmNumber()
S
59 3 13
sortSeasonsRangeTs()
S
62 3 12
sortRoomPrices()
S
62 3 12
sortResults()
S
62 3 12
canImportBookingsFromThirdPartyPlugins()
S
61 3 12
parseJsClosingDates()
S
62 3 11
strTrimLiteral()
S
62 3 11
countHoursToArrival()
S
63 3 11
validateMinDaysAdvance()
S
61 3 11
getFooterOrdMail()
S
62 3 11
getHoursMinutes()
S
57 2 17
vcmAutoUpdate()
S
66 3 7
loadFontAwesome()
S
68 3 7
getTracker()
S
69 3 6
loadBookingsColorTags()
S
73 3 4
loadBusyRecordsUnclosed()
S
69 3 6
filterNightsSeasonsCal()
S
64 3 10
noDepositForNonRefund()
S
60 2 14
precheckinMinOffset()
S
60 2 14
precheckinEnabled()
S
60 2 14
getGoogleMapsKey()
S
62 2 13
guestReviewMinChars()
S
61 2 13
interactiveMapEnabled()
S
61 2 13
upsellingEnabled()
S
61 2 13
showSearchSuggestions()
S
61 2 13
getDisabledBookingMsg()
S
61 2 12
getIntroMain()
S
61 2 12
getClosingMain()
S
61 2 12
getPaymentName()
S
61 2 12
getPackage()
S
62 2 11
loadColorTagsRules()
S
57 1 16
getSenderMail()
S
74 2 4
getVcmOpportunityInstance()
S
66 2 8
getConditionalRulesInstance()
S
74 2 4
getCriticalDatesInstance()
S
69 2 6
getFestivitiesInstance()
S
69 2 6
getOperatorInstance()
S
69 2 6
getCPinInstance()
S
66 2 8
getTranslator()
S
69 2 6
getBackendLogo()
S
67 2 8
getThumbSize()
S
67 2 8
isAdmin()
S
68 2 7
getCurrencyName()
S
67 2 8
tokenForm()
S
65 2 8
todayBookings()
S
68 2 7
getVcmInvoker()
S
69 2 6
getCurrencySymb()
S
67 2 8
getBookingHistoryInstance()
S
69 2 6
getNumberFormatData()
S
67 2 8
hideEmptyDecimals()
S
67 2 8
getGeocodingInstance()
S
74 2 4
numCalendars()
S
67 2 8
isSite()
S
68 2 7
getAliq()
S
64 2 10
getSiteLogo()
S
67 2 8
getFirstWeekDay()
S
67 2 8
depositCustomerChoice()
S
65 2 8
showPartlyReserved()
S
67 2 8
getRatesFlowInstance()
S
66 2 8
setSeasonsCache()
S
69 2 7
registerPromotionIds()
S
70 2 7
allowBooking()
S
67 2 8
sendJutility()
S
65 2 8
getBookingInfoFromID()
S
64 2 10
vcmBcomReportingSupported()
S
78 2 3
getSMSParams()
S
70 2 6
allowDepositFromRates()
S
71 2 6
loadOrdersRoomsData()
S
59 1 13
noTaxRates()
S
68 1 7
getReportInstance()
S
74 1 4
getAvailabilityInstance()
S
74 1 4
getDepositIfDays()
S
79 1 3
prepareViewContent()
S
89 1 2
isFontAwesomeEnabled()
S
79 1 3
userIsLogged()
S
76 1 4
getDefaultDistinctiveFeatures()
S
74 1 5
getAdminWidgetsInstance()
S
75 1 4
ajaxUrl()
S
79 1 3
payTotal()
S
79 1 3
getReservationModCancMin()
S
79 1 3
getPaypalAcc()
S
67 1 8
getAccPerCent()
S
67 1 8
isBookingTypeSupported()
S
78 1 3
getAdminMail()
S
79 1 3
getReservationModCanc()
S
79 1 3
multiplePayments()
S
79 1 3
searchResultsTmpl()
S
79 1 3
getCurrencyCodePp()
S
67 1 8
getSendEmailWhen()
S
79 1 3
getSMSAdminTemplate()
S
78 1 3
getSMSAdminPhone()
S
79 1 3
getSendSMSWhen()
S
79 1 3
getSendSMSTo()
S
78 1 3
getSMSAPIClass()
S
79 1 3
getMinutesAutoRemove()
S
79 1 3
showFooter()
S
79 1 3
getDefaultNightsCalendar()
S
79 1 3
showStatusCheckinoutOnly()
S
79 1 3
getInvoiceCompanyInfo()
S
79 1 3
getInvoiceNumberSuffix()
S
79 1 3
getNextInvoiceNumber()
S
78 1 3
getCronKey()
S
79 1 3
calendarType()
S
81 1 3
getSMSCustomerTemplate()
S
78 1 3
getHoursRoomAvail()
S
70 1 6
getTheme()
S
79 1 3
attachIcal()
S
79 1 3
requireLogin()
S
79 1 3
autoRoomUnit()
S
79 1 3
couponsEnabled()
S
79 1 3
customersPinEnabled()
S
79 1 3
getVboApplication()
S
75 1 4
orphansCalculation()
S
79 1 3
loadJquery()
S
79 1 3
loadEmailTemplate()
S
67 1 8
loadBootstrap()
S
79 1 3
allowMultiLanguage()
S
79 1 3
getCPinIstance()
S
80 1 3
getFrontTitleTagClass()
S
79 1 3
getFrontTitleTag()
S
79 1 3
externalroute()
S
78 1 3
autoSendSMSEnabled()
S
79 1 3