SLN_Wrapper_Booking_Builder B

Total Complexity 85
Dependencies 10
Dependents 3
Total lines 425
Lines of code 285
Logical lines of code 148
Comment lines 23
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
isValid()
A
49 11 29
create()
A
45 7 42
getServices()
S
57 7 16
hasAttendant()
S
62 4 11
__construct()
S
65 4 8
getCreateStatus()
S
64 4 9
getEmptyValue()
S
57 2 16
addService()
S
68 3 6
getAttendants()
S
64 3 10
getServicesDurationMinutes()
S
62 2 11
get()
S
78 2 3
clearService()
S
72 2 5
removeService()
S
73 2 5
getTotal()
S
64 2 9
getLastBooking()
S
75 2 5
set()
S
69 2 7
setAttendant()
S
72 2 5
getSecondaryServices()
S
79 1 3
getPrimaryServices()
S
79 1 3
getPrimaryServicesIds()
S
80 1 3
getTips()
S
80 1 3
getEndsAt()
S
72 1 5
getDuration()
S
73 1 5
getBookingServices()
S
72 1 6
getSecondaryServicesIds()
S
80 1 3
setServicesAndAttendants()
S
80 1 3
getServicesIds()
S
80 1 3
removeServices()
S
80 1 3
save()
S
75 1 4
getAttendant()
S
76 1 4
getAttendantsIds()
S
80 1 3
hasService()
S
78 1 3
removeAttendants()
S
78 1 3
setTime()
S
76 1 4
setDate()
S
76 1 4
getDateTime()
S
75 1 4
getTime()
S
80 1 3
getDate()
S
80 1 3
removeLastId()
S
72 1 5
clear()
S
74 1 5
addTips()
S
77 1 3