VikBooking D

Total Complexity 2,902
Dependencies 52
Dependents 148
Total lines 13,041
Lines of code 8,824
Logical lines of code 6,128
Comment lines 2,783
Methods 295
Properties 0

Methods 295

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
22
68 148
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
36 25 65
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
uploadFileFromRequest()
B
34 19 95
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
getOtasRatesVal()
B
45 19 35
getMandatoryTaxesFees()
B
41 18 50
preferredCountriesOrdering()
B
41 18 50
getRoomUnitDistinctiveFeature()
B
44 18 42
getLogBookingModification()
B
39 17 55
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
getRoomCaratOriz()
A
44 13 40
findProperItemIdType()
A
48 13 30
loadPreferredColorStyles()
A
42 11 53
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
detectUserAgent()
A
51 10 25
sendBookingInvoice()
A
50 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
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
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
sayPackagePlusIva()
S
53 7 22
sayOptionalsPlusIva()
S
53 7 22
sayPackageMinusIva()
S
53 7 22
sayCategory()
S
52 7 22
loadInvoiceTmpl()
S
48 6 32
loadCheckinDocTmpl()
S
48 6 31
loadCustomInvoiceTmpl()
S
48 6 31
showChildrenFront()
S
51 6 27
ivaInclusa()
S
51 6 27
showCategoriesFront()
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
globalRestrictions()
S
57 6 17
getVcmChatInstance()
S
56 6 17
getFullFrontTitle()
S
49 5 32
restoreMultiDimArrayDiff()
S
60 6 13
parseJsDrangeWdayCombo()
S
59 6 13
canBookingBeReviewed()
S
52 5 24
dayValidTs()
S
54 5 23
tnCustomerRawDataLabel()
S
47 4 38
getPayment()
S
55 5 20
getSecretLink()
S
56 5 19
import()
S
56 5 19
getPriceInfo()
S
55 5 19
caniWrite()
S
55 5 18
getFirstCustDataField()
S
57 5 16
preloadSeasonRecords()
S
57 5 16
getCountriesSelect()
S
58 5 14
prepareMultiDimArrayDiff()
S
60 5 13
getNumberFormatData()
S
52 4 27
userAgentStyleSheet()
S
61 5 12
getCategoryName()
S
61 5 11
getCurrencySymb()
S
53 4 25
getPreferredColors()
S
53 4 24
cleanSharedCalendarsBusy()
S
53 4 23
getHoursMoreRb()
S
54 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
getDepositOverrides()
S
57 4 16
loadBookingBusyIds()
S
58 4 16
sortMultipleResults()
S
59 4 15
occupancyOverrideExists()
S
63 5 10
displayCronParameters()
S
58 4 15
addEmailAttachment()
S
60 4 14
getSingleOption()
S
60 4 13
formatDateTs()
S
59 4 13
getMinutesLock()
S
61 4 13
getOptionIntervalsAges()
S
60 4 12
totElements()
S
62 4 12
getOptionIntervalsCosts()
S
60 4 12
getDefaultNightsCalendar()
S
53 3 24
addJoomlaUser()
S
52 3 24
getTypeDeposit()
S
53 3 24
guestReviewsServices()
S
54 3 23
getSmartSearchType()
S
55 3 21
getSearchNumRooms()
S
55 3 21
getSearchNumChildren()
S
55 3 21
loadDefaultColorTags()
S
45 1 51
getSearchNumAdults()
S
55 3 21
getReceiptNotes()
S
56 3 20
getChatParams()
S
54 3 20
hideEmptyDecimals()
S
57 3 19
loadAdultsDiff()
S
57 3 17
getFrontTitle()
S
57 3 17
chatEnabled()
S
57 3 17
getPromotionHandlers()
S
64 4 9
depositAllowedDaysAdv()
S
63 4 9
numberFormat()
S
64 4 8
getRoomParam()
S
63 4 10
allowGuestReviews()
S
58 3 15
getPromotionFactors()
S
64 4 9
buildCustData()
S
64 4 9
getBestColorContrast()
S
61 4 10
getAppearancePref()
S
59 3 15
loadRoomAdultsDiff()
S
60 3 14
sayDateFormat()
S
59 3 14
getDisclaimer()
S
59 3 14
getPriceName()
S
60 3 13
guestReviewsApproval()
S
61 3 13
generateConfirmNumber()
S
59 3 13
guestReviewsType()
S
61 3 13
getPriceAttr()
S
60 3 13
uploadFile()
S
61 3 13
canImportBookingsFromThirdPartyPlugins()
S
61 3 12
sortSeasonsRangeTs()
S
62 3 12
sortResults()
S
62 3 12
allowBooking()
S
61 3 12
sortRoomPrices()
S
62 3 12
validateMinDaysAdvance()
S
61 3 11
getFooterOrdMail()
S
62 3 11
countHoursToArrival()
S
63 3 11
strTrimLiteral()
S
62 3 11
parseJsClosingDates()
S
62 3 11
getHoursMinutes()
S
57 2 17
loadBookingsColorTags()
S
73 3 4
vcmAutoUpdate()
S
66 3 7
getTracker()
S
69 3 6
loadFontAwesome()
S
68 3 7
filterNightsSeasonsCal()
S
64 3 10
loadBusyRecordsUnclosed()
S
69 3 6
precheckinMinOffset()
S
60 2 14
precheckinEnabled()
S
60 2 14
noDepositForNonRefund()
S
60 2 14
showSearchSuggestions()
S
61 2 13
guestReviewMinChars()
S
61 2 13
getGoogleMapsKey()
S
62 2 13
upsellingEnabled()
S
61 2 13
interactiveMapEnabled()
S
61 2 13
getPaymentName()
S
61 2 12
getDisabledBookingMsg()
S
61 2 12
getIntroMain()
S
61 2 12
getClosingMain()
S
61 2 12
getPackage()
S
62 2 11
loadColorTagsRules()
S
57 1 16
getVcmInvoker()
S
69 2 6
getCPinInstance()
S
66 2 8
getTranslator()
S
69 2 6
numCalendars()
S
67 2 8
getCurrencyName()
S
67 2 8
sendJutility()
S
65 2 8
getRatesFlowInstance()
S
66 2 8
getThumbSize()
S
67 2 8
getSenderMail()
S
74 2 4
getBackendLogo()
S
67 2 8
getBookingHistoryInstance()
S
69 2 6
depositCustomerChoice()
S
65 2 8
getVcmOpportunityInstance()
S
66 2 8
vcmBcomReportingSupported()
S
78 2 3
getSiteLogo()
S
67 2 8
todayBookings()
S
68 2 7
getFirstWeekDay()
S
67 2 8
isSite()
S
68 2 7
registerPromotionIds()
S
70 2 7
getAliq()
S
64 2 10
tokenForm()
S
65 2 8
setSeasonsCache()
S
69 2 7
allowDepositFromRates()
S
71 2 6
getConditionalRulesInstance()
S
74 2 4
getGeocodingInstance()
S
74 2 4
isAdmin()
S
68 2 7
getFestivitiesInstance()
S
69 2 6
getBookingInfoFromID()
S
64 2 10
getOperatorInstance()
S
69 2 6
getCriticalDatesInstance()
S
69 2 6
getSMSParams()
S
70 2 6
loadOrdersRoomsData()
S
59 1 13
getCurrencyCodePp()
S
67 1 8
getDefaultDistinctiveFeatures()
S
74 1 5
ajaxUrl()
S
79 1 3
noTaxRates()
S
68 1 7
isBookingTypeSupported()
S
78 1 3
getAvailabilityInstance()
S
74 1 4
getReportInstance()
S
74 1 4
prepareViewContent()
S
89 1 2
getReservationModCanc()
S
79 1 3
isFontAwesomeEnabled()
S
79 1 3
getAdminMail()
S
79 1 3
multiplePayments()
S
79 1 3
getAccPerCent()
S
67 1 8
getAdminWidgetsInstance()
S
75 1 4
getReservationModCancMin()
S
79 1 3
getPaypalAcc()
S
67 1 8
loadJquery()
S
79 1 3
getVboApplication()
S
75 1 4
getNextInvoiceNumber()
S
78 1 3
getMinutesAutoRemove()
S
79 1 3
getSendEmailWhen()
S
79 1 3
getFrontTitleTagClass()
S
79 1 3
getFrontTitleTag()
S
79 1 3
getInvoiceCompanyInfo()
S
79 1 3
getInvoiceNumberSuffix()
S
79 1 3
userIsLogged()
S
76 1 4
autoSendSMSEnabled()
S
79 1 3
getHoursRoomAvail()
S
70 1 6
showFooter()
S
79 1 3
showStatusCheckinoutOnly()
S
79 1 3
loadEmailTemplate()
S
67 1 8
calendarType()
S
81 1 3
externalroute()
S
78 1 3
showPartlyReserved()
S
79 1 3
getSMSAPIClass()
S
79 1 3
getSendSMSTo()
S
78 1 3
searchResultsTmpl()
S
79 1 3
autoRoomUnit()
S
79 1 3
orphansCalculation()
S
79 1 3
attachIcal()
S
79 1 3
payTotal()
S
79 1 3
getDepositIfDays()
S
79 1 3
getTheme()
S
79 1 3
requireLogin()
S
79 1 3
couponsEnabled()
S
79 1 3
getSendSMSWhen()
S
79 1 3
customersPinEnabled()
S
79 1 3
loadBootstrap()
S
79 1 3
allowMultiLanguage()
S
79 1 3
getSMSCustomerTemplate()
S
78 1 3
getSMSAdminTemplate()
S
78 1 3
getCPinIstance()
S
80 1 3
getSMSAdminPhone()
S
79 1 3
getCronKey()
S
79 1 3