SLN_Helper_Availability D

Total Complexity 289
Dependencies 23
Dependents 6
Total lines 1,190
Lines of code 912
Logical lines of code 516
Comment lines 36
Methods 52
Properties 11

Methods 52

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