SLN_Third_GoogleCalendarImport B

Total Complexity 98
Dependencies 19
Dependents 0
Total lines 694
Lines of code 494
Logical lines of code 266
Comment lines 40
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
validateBookingServices()
B
36 21 83
importBookingFromGoogleCalendarEvent()
A
42 13 51
getBookingDetailsFromGoogleCalendarEvent()
A
44 9 43
syncFull()
A
43 7 49
parseGoogleCalendarEventDescription()
S
49 7 30
createCustomer()
S
49 6 31
importNewBookingFromGoogleCalendarEvent()
S
45 3 38
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
76 1 4
updateSyncToken()
S
79 1 3
getSyncToken()
S
80 1 3