SLN_Helper_Availability D

Total Complexity 291
Dependencies 23
Dependents 6
Total lines 1,208
Lines of code 929
Logical lines of code 523
Comment lines 36
Methods 52
Properties 11

Methods 52

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
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
validateAttendantService()
S
55 7 21
getAvailableAttsIdsForServiceOnTime()
S
53 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
processServiceErrors()
S
60 4 12
getFreeMinutes()
S
60 4 12
validateResourceOnTime()
S
61 4 10
setDate()
S
59 3 14
validateBookingService()
S
57 2 21
isValidOnlyTime()
S
67 3 7
validateTimePeriod()
S
62 3 10
getItemsWithoutServiceOffset()
S
71 2 6
isValidTime()
S
71 2 6
isValidDate()
S
72 2 5
getHolidaysItemsWithWeekDayRules()
S
69 2 7
getHolidaysItems()
S
71 2 6
validateResourceService()
S
69 2 7
getOffset()
S
67 2 9
getHoursBeforeHelper()
S
71 2 6
getItems()
S
71 2 6
addAttendantForServices()
S
70 2 7
getAvailableAttendantForService()
S
67 2 8
validateBookingAttendants()
S
64 1 11
validateBookingAttendant()
S
64 1 11
getAvailableAttsIdsForBookingService()
S
67 1 9
resetItems()
S
70 1 7
getMinutesIntervals()
S
81 1 3
getInterval()
S
80 1 3
getAvailableResourcesIdsForBookingService()
S
67 1 9
getBookingsHourCount()
S
79 1 3
getBookingsDayCount()
S
81 1 3
getDayBookings()
S
82 1 3
getHoursBeforeString()
S
81 1 3
__construct()
S
73 1 5