SLN_Helper_Availability D

Total Complexity 230
Dependencies 21
Dependents 5
Total lines 973
Lines of code 748
Logical lines of code 431
Comment lines 40
Methods 43
Properties 11

Methods 43

Method Rating Maintainability Complexity Lines of code
checkEachOfNewServicesForExistOrder()
B
35 22 82
validateService()
B
41 22 48
validateAttendant()
A
46 16 34
getTimes()
A
41 14 48
validateServiceOnTime()
A
46 13 35
returnValidatedServices()
A
43 11 52
validateServiceFromOrder()
A
49 12 31
getCachedDays()
A
48 12 29
validateAttendantOnTime()
A
49 11 27
addSingleAttendantForServices()
A
49 8 34
checkExclusiveServices()
S
54 7 22
getAvailableAttsIdsForServiceOnTime()
S
53 7 21
addMultipleAttendantForServices()
S
48 6 35
validateServiceAttendantsOnTime()
S
57 6 17
getDays()
S
57 5 16
getWorkTimes()
S
57 4 16
getCachedTimes()
S
60 4 15
getFreeMinutes()
S
60 4 12
processServiceErrors()
S
60 4 12
setDate()
S
59 3 14
validateAttendantService()
S
66 3 9
isValidOnlyTime()
S
67 3 7
validateTimePeriod()
S
62 3 10
getHoursBeforeHelper()
S
71 2 6
isValidTime()
S
71 2 6
isValidDate()
S
72 2 5
getOffset()
S
67 2 9
getAvailableAttendantForService()
S
67 2 8
getHolidaysItemsWithWeekDayRules()
S
69 2 7
addAttendantForServices()
S
70 2 7
getHolidaysItems()
S
71 2 6
getItemsWithoutServiceOffset()
S
71 2 6
getItems()
S
71 2 6
validateBookingAttendant()
S
66 1 10
resetItems()
S
70 1 7
getHoursBeforeString()
S
81 1 3
validateBookingService()
S
66 1 10
getAvailableAttsIdsForBookingService()
S
67 1 9
getDayBookings()
S
82 1 3
getBookingsDayCount()
S
81 1 3
getBookingsHourCount()
S
79 1 3
getMinutesIntervals()
S
81 1 3
__construct()
S
73 1 5