VikBooking D

Total Complexity 2,738
Dependencies 45
Dependents 95
Total lines 11,913
Lines of code 8,866
Logical lines of code 6,357
Comment lines 2,254
Methods 291
Properties 0

Methods 291

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