SLN_Helper_Availability D

Total Complexity 321
Dependencies 23
Dependents 8
Total lines 1,353
Lines of code 1,024
Logical lines of code 578
Comment lines 61
Methods 53
Properties 11

Methods 53

Method Rating Maintainability Complexity Lines of code
validateAttendant()
C
35 28 79
checkEachOfNewServicesForExistOrder()
B
35 22 85
validateService()
B
39 23 54
getTimes()
B
39 22 54
validateAttendants()
B
44 18 38
validateServiceOnTime()
B
42 16 47
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
validateTimePeriod()
S
58 4 15
processServiceErrors()
S
60 4 12
getFreeMinutes()
S
60 4 12
isValidOnlyTime()
S
62 4 11
validateResourceOnTime()
S
61 4 10
getCachedTimes()
S
63 3 12
validateBookingService()
S
57 2 21
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