VikBooking D

Total Complexity 2,583
Dependencies 39
Dependents 78
Total lines 11,196
Lines of code 8,521
Logical lines of code 6,096
Comment lines 2,012
Methods 282
Properties 0

Methods 282

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