VikBooking D

Total Complexity 2,910
Dependencies 52
Dependents 149
Total lines 13,151
Lines of code 8,846
Logical lines of code 6,118
Comment lines 2,853
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
132 432
sendBookingEmail()
D
4
121 320
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
sayMonth()
B
43 24 41
roomNotLocked()
B
37 21 73
loadOptionAgeIntervals()
B
40 22 53
parseCustomerSMSTemplate()
B
34 20 80
loadUpsellingData()
B
38 20 70
parseCheckinDocTemplate()
B
34 19 83
dateIsValid()
B
49 21 26
validateRoomPackage()
B
41 19 50
filterOptionalsByParty()
B
48 20 28
getRoomUnitNumsUnavailable()
B
41 18 52
preferredCountriesOrdering()
B
41 18 50
getMandatoryTaxesFees()
B
41 18 50
getOtasRatesVal()
B
45 19 35
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
sortRatePlans()
A
47 15 33
getRoomRplansClosedInDates()
A
44 14 43
getPaxFields()
A
42 13 53
formatSeasonDates()
A
47 14 28
sayWeekDay()
A
51 14 26
loadPreferredColorStyles()
A
40 11 62
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
parseAdminSMSTemplate()
A
40 9 58
getBookingReview()
A
50 11 28
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
sayCostMinusIva()
A
48 8 31
sayCostPlusIva()
A
49 8 31
loadRoomIndexesBookings()
A
49 8 30
findNonRefundableRates()
A
51 8 26
getTermsConditions()
A
50 8 26
getRoomCaratOriz()
A
50 8 24
getNextReceiptNumber()
A
47 7 36
getRoomInfo()
A
54 8 21
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
getRoomOptionChildNumber()
S
52 7 24
getClosingDates()
S
52 7 24
sayCategory()
S
52 7 22
sayOptionalsPlusIva()
S
53 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
showChildrenFront()
S
51 6 27
showCategoriesFront()
S
51 6 27
ivaInclusa()
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
getVcmChatInstance()
S
56 6 17
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
getSecretLink()
S
56 5 19
getPriceInfo()
S
55 5 19
caniWrite()
S
55 5 18
getFirstCustDataField()
S
57 5 16
preloadSeasonRecords()
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
getHoursMoreRb()
S
54 4 23
cleanSharedCalendarsBusy()
S
53 4 23
getDateFormat()
S
54 4 23
getGuestsAllowedPolicy()
S
52 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
sortMultipleResults()
S
59 4 15
occupancyOverrideExists()
S
63 5 10
addEmailAttachment()
S
60 4 14
getMinutesLock()
S
61 4 13
getSingleOption()
S
60 4 13
formatDateTs()
S
59 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
getDefaultNightsCalendar()
S
53 3 24
guestReviewsServices()
S
54 3 23
getSearchNumRooms()
S
55 3 21
getSearchNumChildren()
S
55 3 21
getSmartSearchType()
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
loadAdultsDiff()
S
57 3 17
getFrontTitle()
S
57 3 17
getAppearancePref()
S
59 3 15
allowGuestReviews()
S
58 3 15
depositAllowedDaysAdv()
S
63 4 9
numberFormat()
S
64 4 8
getPromotionHandlers()
S
64 4 9
getPromotionFactors()
S
64 4 9
getBestColorContrast()
S
61 4 10
buildCustData()
S
64 4 9
loadRoomAdultsDiff()
S
60 3 14
sayDateFormat()
S
59 3 14
getDisclaimer()
S
59 3 14
generateConfirmNumber()
S
59 3 13
getPriceName()
S
60 3 13
uploadFile()
S
61 3 13
guestReviewsApproval()
S
61 3 13
guestReviewsType()
S
61 3 13
getPriceAttr()
S
60 3 13
sortRoomPrices()
S
62 3 12
sortResults()
S
62 3 12
sortSeasonsRangeTs()
S
62 3 12
canImportBookingsFromThirdPartyPlugins()
S
61 3 12
validateMinDaysAdvance()
S
61 3 11
strTrimLiteral()
S
62 3 11
getFooterOrdMail()
S
62 3 11
countHoursToArrival()
S
63 3 11
parseJsClosingDates()
S
62 3 11
getHoursMinutes()
S
57 2 17
loadBookingsColorTags()
S
73 3 4
getTracker()
S
69 3 6
vcmAutoUpdate()
S
66 3 7
filterNightsSeasonsCal()
S
64 3 10
loadBusyRecordsUnclosed()
S
69 3 6
loadFontAwesome()
S
68 3 7
precheckinMinOffset()
S
60 2 14
precheckinEnabled()
S
60 2 14
noDepositForNonRefund()
S
60 2 14
upsellingEnabled()
S
61 2 13
guestReviewMinChars()
S
61 2 13
getGoogleMapsKey()
S
62 2 13
interactiveMapEnabled()
S
61 2 13
showSearchSuggestions()
S
61 2 13
getDisabledBookingMsg()
S
61 2 12
getPaymentName()
S
61 2 12
getIntroMain()
S
61 2 12
getClosingMain()
S
61 2 12
getPackage()
S
62 2 11
loadColorTagsRules()
S
57 1 16
getTranslator()
S
69 2 6
getThumbSize()
S
67 2 8
getSiteLogo()
S
67 2 8
vcmBcomReportingSupported()
S
78 2 3
getCPinInstance()
S
66 2 8
todayBookings()
S
68 2 7
getCurrencySymb()
S
67 2 8
getOperatorInstance()
S
69 2 6
getFestivitiesInstance()
S
69 2 6
getNumberFormatData()
S
67 2 8
hideEmptyDecimals()
S
67 2 8
getBackendLogo()
S
67 2 8
getVcmOpportunityInstance()
S
66 2 8
getBookingHistoryInstance()
S
69 2 6
getCriticalDatesInstance()
S
69 2 6
tokenForm()
S
65 2 8
getSenderMail()
S
74 2 4
getConditionalRulesInstance()
S
74 2 4
getGeocodingInstance()
S
74 2 4
isAdmin()
S
68 2 7
isSite()
S
68 2 7
getRatesFlowInstance()
S
66 2 8
depositCustomerChoice()
S
65 2 8
getVcmInvoker()
S
69 2 6
getCurrencyName()
S
67 2 8
getBookingInfoFromID()
S
64 2 10
getAliq()
S
64 2 10
sendJutility()
S
65 2 8
showPartlyReserved()
S
67 2 8
allowDepositFromRates()
S
71 2 6
getFirstWeekDay()
S
67 2 8
registerPromotionIds()
S
70 2 7
getSMSParams()
S
70 2 6
setSeasonsCache()
S
69 2 7
allowBooking()
S
67 2 8
numCalendars()
S
67 2 8
loadOrdersRoomsData()
S
59 1 13
getDefaultDistinctiveFeatures()
S
74 1 5
getPaypalAcc()
S
67 1 8
getAccPerCent()
S
67 1 8
getAvailabilityInstance()
S
74 1 4
multiplePayments()
S
79 1 3
getAdminMail()
S
79 1 3
showStatusCheckinoutOnly()
S
79 1 3
prepareViewContent()
S
89 1 2
isFontAwesomeEnabled()
S
79 1 3
payTotal()
S
79 1 3
getAdminWidgetsInstance()
S
75 1 4
isBookingTypeSupported()
S
78 1 3
getInvoiceCompanyInfo()
S
79 1 3
getInvoiceNumberSuffix()
S
79 1 3
getNextInvoiceNumber()
S
78 1 3
getCronKey()
S
79 1 3
userIsLogged()
S
76 1 4
getReservationModCancMin()
S
79 1 3
getReservationModCanc()
S
79 1 3
calendarType()
S
81 1 3
ajaxUrl()
S
79 1 3
noTaxRates()
S
68 1 7
getDepositIfDays()
S
79 1 3
loadEmailTemplate()
S
67 1 8
getReportInstance()
S
74 1 4
getSMSAdminPhone()
S
79 1 3
getFrontTitleTag()
S
79 1 3
getHoursRoomAvail()
S
70 1 6
getSMSCustomerTemplate()
S
78 1 3
getFrontTitleTagClass()
S
79 1 3
getCPinIstance()
S
80 1 3
getSMSAdminTemplate()
S
78 1 3
allowMultiLanguage()
S
79 1 3
loadBootstrap()
S
79 1 3
loadJquery()
S
79 1 3
attachIcal()
S
79 1 3
orphansCalculation()
S
79 1 3
searchResultsTmpl()
S
79 1 3
getVboApplication()
S
75 1 4
showFooter()
S
79 1 3
customersPinEnabled()
S
79 1 3
couponsEnabled()
S
79 1 3
getSendSMSWhen()
S
79 1 3
autoRoomUnit()
S
79 1 3
requireLogin()
S
79 1 3
getSendSMSTo()
S
78 1 3
getTheme()
S
79 1 3
getSMSAPIClass()
S
79 1 3
getMinutesAutoRemove()
S
79 1 3
getSendEmailWhen()
S
79 1 3
getCurrencyCodePp()
S
67 1 8
externalroute()
S
78 1 3
autoSendSMSEnabled()
S
79 1 3