VikAppointmentsModelReservation D

Total Complexity 161
Dependencies 19
Dependents 0
Total lines 1,535
Lines of code 853
Logical lines of code 470
Comment lines 413
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
save()
D
19
64 193
addDiscount()
B
31 14 123
recalculateTotals()
B
37 15 76
isAvailable()
A
43 11 49
checkExpired()
A
40 10 64
sendSmsNotification()
A
46 8 42
getAvailableTimes()
A
48 8 32
delete()
A
42 6 60
removeDiscount()
A
39 5 72
getAppointmentsOn()
S
45 4 40
getAppointmentsAt()
S
46 4 39
duplicate()
S
48 4 36
sendEmailNotification()
S
56 5 18
isChildAppointment()
S
65 3 9