VikBooking D

Total Complexity 2,917
Dependencies 50
Dependents 131
Total lines 12,807
Lines of code 8,905
Logical lines of code 6,260
Comment lines 2,642
Methods 293
Properties 0

Methods 293

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