SLN_Third_GoogleCalendarImport B

Total Complexity 92
Dependencies 19
Dependents 0
Total lines 667
Lines of code 469
Logical lines of code 252
Comment lines 37
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
validateBookingServices()
B
37 19 77
importBookingFromGoogleCalendarEvent()
A
43 12 48
getBookingDetailsFromGoogleCalendarEvent()
A
46 8 39
syncFull()
A
43 7 49
createCustomer()
S
49 6 30
parseGoogleCalendarEventDescription()
S
53 5 21
importNewBookingFromGoogleCalendarEvent()
S
46 3 37
getServiceIdByName()
S
57 3 18
__construct()
S
66 4 7
importBookingsFromGoogleCalendarEvents()
S
63 3 11
getCustomerIdByName()
S
54 2 24
prepareAndValidateBookingServices()
S
54 2 21
getBookingIdFromEventId()
S
58 2 16
makeGoogleCalendarEventSyncWarning()
S
62 2 12
parseCustomerName()
S
62 2 12
makeGoogleCalendarEventSyncWrong()
S
63 2 11
launch()
S
73 2 5
validateBookingStartTime()
S
66 2 8
userHasCapCallback()
S
70 2 6
makeGoogleCalendarEventSyncSuccessful()
S
68 1 8
printMsg()
S
80 1 3
updateSyncToken()
S
79 1 3
getSyncToken()
S
80 1 3