SLN_Helper_Availability D

Total Complexity 206
Dependencies 19
Dependents 5
Total lines 897
Lines of code 685
Logical lines of code 381
Comment lines 29
Methods 44
Properties 11

Methods 44

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