VikAppointmentsModelReservation D

Total Complexity 163
Dependencies 19
Dependents 0
Total lines 1,516
Lines of code 824
Logical lines of code 457
Comment lines 429
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
32 14 119
isAvailable()
A
43 11 49
checkExpired()
A
41 8 57
sendSmsNotification()
A
46 8 42
getAvailableTimes()
A
48 8 32
delete()
S
44 5 50
removeDiscount()
S
40 4 65
duplicate()
S
48 4 35
sendEmailNotification()
S
56 5 18
getAppointmentsOn()
S
47 3 35
getAppointmentsAt()
S
47 3 34
isChildAppointment()
S
65 3 9