SLN_Helper_Availability D

Total Complexity 298
Dependencies 23
Dependents 16
Total lines 1,261
Lines of code 961
Logical lines of code 548
Comment lines 48
Methods 53
Properties 11

Methods 53

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