VikAppointmentsModelReservation D

Total Complexity 169
Dependencies 19
Dependents 0
Total lines 1,555
Lines of code 865
Logical lines of code 480
Comment lines 417
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
save()
D
19
65 197
recalculateTotals()
B
35 22 82
addDiscount()
B
31 14 124
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
38 5 73
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