WBK_Db_Utils D

Total Complexity 457
Dependencies 14
Dependents 17
Total lines 2,617
Lines of code 2,403
Logical lines of code 1,350
Comment lines 74
Methods 110
Properties 0

Methods 110

Method Rating Maintainability Complexity Lines of code
message_placeholder_processing()
D
13
55 326
subject_placeholder_processing()
D
23
31 193
lockTimeSlotsOfOthersServices()
C
34 26 86
deleteExpiredAppointments()
C
32 21 107
getQuantityFromConnectedServices()
B
40 20 59
getQuantityFromConnectedServices2()
A
40 13 62
updateAppointmentDataAtGGCelendar()
A
41 10 54
setAppointmentsExpiration()
A
47 8 36
getFreeTimeslotsArray()
S
51 7 29
getFreeTimeslotsArrayForTable()
S
51 7 28
getAmountByPaymentId()
S
53 7 23
increeaseCouponUsage()
S
49 6 32
setIPToAppointment()
S
51 6 28
backend_customer_name_processing()
S
52 6 25
setAmountForApppointment()
S
48 5 36
updatePaymentStatus()
S
50 5 31
updatePaymentStatusByIds()
S
44 3 59
getQuantityFromAllSerivces()
S
50 5 29
switchLanguageByAppointmentId()
S
60 6 13
getServices()
S
51 5 27
replaceRanges()
S
51 5 26
setCouponToAppointment()
S
53 5 25
copyAppointmentToCancelled()
S
41 2 66
getAppointmentIdsByGroupToken()
S
54 5 20
getDurationOfAppointment()
S
56 5 18
getServicesWithSameCategory()
S
57 5 17
getCategoryNamesByService()
S
57 5 17
getExtraValueByAppointmentId()
S
56 5 17
filterNotPaidAppointments()
S
61 5 12
setPaymentId()
S
54 4 22
setPaymentCancelToken()
S
54 4 22
setGoogleEventsData()
S
54 4 22
updateAppointmentStatus()
S
54 4 22
setPaymentMethodToAppointment()
S
54 4 22
setCreatedOnToAppointment()
S
54 4 22
setServiceCategoryToAppointment()
S
54 4 22
deleteAppointmentByEmailTokenPair()
S
54 4 21
getAppointmentIdsByGroupAdminToken()
S
56 4 17
getCountOfAppointmentsByDayService()
S
57 4 15
getTokenByAppointmentId()
S
53 3 24
getAdminTokenByAppointmentId()
S
53 3 24
getAppointmentColumns()
S
49 2 35
setLangToAppointmentId()
S
56 3 20
getCF7Forms()
S
58 3 16
booked_slot_placeholder_processing()
S
59 3 15
getServiceIdByAppointmentId()
S
61 3 12
getStatusByAppointmentId()
S
61 3 12
getAppointmentIdByToken()
S
61 3 12
getAppointmentIdByAdminToken()
S
61 3 12
getQuantityByAppointmentId()
S
61 3 12
getGoogleEventsData()
S
62 3 11
idEventAddedToGoogle()
S
62 3 11
getCouponDiscount()
S
61 3 11
getAmountNoTaxByAppoiuntmentIds()
S
62 3 11
setAppointmentStatus()
S
57 2 18
initServiceById()
S
65 3 10
initAppointmentById()
S
65 3 10
getServiceCategoryList()
S
60 2 12
getNotAdminUsers()
S
63 2 11
getTomorrowAppointmentsForService()
S
61 2 11
getFutureAppointmentsForService()
S
61 2 11
getFeatureAppointmentsByCategory()
S
61 2 11
convertDateFormatForPicker()
S
57 1 16
getServicesInCategory()
S
66 2 8
isServiceNameFree()
S
64 2 9
getCategoryNameByCategoryId()
S
64 2 9
freeLockedTimeSlot()
S
67 2 7
getEmailTemplate()
S
65 2 8
createHtFile()
S
64 2 9
landing_appointment_data_processing()
S
57 1 15
get_string_between()
S
63 2 10
getAppointmentStatus()
S
64 2 9
getAppointmentMomentPrice()
S
62 2 10
getIPByAppointmentId()
S
64 2 9
getCouponByAppointmentId()
S
65 2 8
getPaymentMethodByAppointmentId()
S
65 2 8
getCouponName()
S
65 2 8
clearPaymentIdByToken()
S
61 1 14
message_placeholder_processing_multi_service()
S
62 1 13
wbk_sanitize()
S
61 1 13
getAppointmentStatusList()
S
62 1 11
getPaymentFields()
S
62 1 11
createTables()
S
67 1 7
dropTables()
S
65 1 9
getAdminUsers()
S
67 1 8
getIndexedNames()
S
66 1 8
getGgCalendarsByUser()
S
71 1 5
blankArray()
S
82 1 3
getGGCalendarModeList()
S
66 1 8
getAppointmentIdsByPaymentId()
S
71 1 5
getFeatureAppointmentsByService()
S
69 1 6
subject_placeholder_processing_multi_service()
S
65 1 10
get_extra_value_by_appoiuntment_id()
S
79 1 3
addAppointmentDataToGGCelendar()
S
91 1 2
addAppointmentDataToCustomerGGCelendar()
S
82 1 3
deleteAppointmentDataAtGGCelendar()
S
91 1 2
message_placeholder_processing_gg()
S
78 1 3
subject_placeholder_processing_gg()
S
78 1 3
is_gg_event_added_to_customers_calendar()
S
77 1 4
getBackwardGGCalendars()
S
71 1 5
getCountOfAppointmentsByEmailTimeService()
S
64 1 10
getCountOfAppointmentsByEmailService()
S
64 1 10
getCountOfAppointmentsByEmailServiceDay()
S
64 1 10
getCountOfAppointmentsByDay()
S
71 1 5
setActualDurationToAppointment()
S
82 1 3
getLangByAppointmentId()
S
71 1 5
getCurrentCateogryByAppointmentId()
S
71 1 5
getAppointmentCreatedOn()
S
71 1 5
getAppointmentsByServiceAndTime()
S
71 1 5
priceToFloat()
S
68 1 6