MailChimp_WooCommerce_MailChimpApi D

Total Complexity 303
Dependencies 18
Dependents 10
Total lines 2,003
Lines of code 1,058
Logical lines of code 672
Comment lines 625
Methods 91
Properties 5

Methods 91

Method Rating Maintainability Complexity Lines of code
processCurlResponse()
B
42 21 46
subscribe()
A
43 12 48
update()
A
43 12 46
updateStoreOrder()
A
49 8 28
updateOrCreate()
A
48 7 35
getStore()
A
55 8 19
checkForErrors()
A
55 8 17
getCampaign()
S
52 7 22
getLists()
S
55 7 20
updateCart()
S
54 7 19
addCart()
S
54 7 19
stores()
S
55 7 18
addStoreOrder()
S
53 6 21
getGDPRFields()
S
62 5 11
getPromoRules()
S
56 4 17
getPromoCodesForRule()
S
56 4 17
updateMemberTags()
S
57 4 15
addStoreProduct()
S
57 4 15
updateStoreProduct()
S
57 4 15
getCustomer()
S
60 4 13
getStoreProduct()
S
60 4 13
getStoreOrder()
S
60 4 13
updateCustomer()
S
60 4 13
addPromoRule()
S
61 4 12
webHookDelete()
S
60 4 12
addPromoCodeForRule()
S
60 4 12
ping()
S
63 4 11
applyCurlOptions()
S
51 3 26
createEmptyLineItemProductPlaceholder()
S
52 3 25
validateStoreCustomer()
S
68 4 7
url()
S
63 4 10
getPromoRuleIds()
S
58 3 14
getCachedGDPRFields()
S
61 3 12
flagStoreSync()
S
60 3 12
updateStore()
S
62 3 11
addCustomer()
S
62 3 11
getCart()
S
62 3 11
deleteStore()
S
62 3 11
addStore()
S
62 3 11
handleProductsMissingFromAPI()
S
63 3 10
deletePromoCodeForRule()
S
65 3 9
updatePromoCodeForRule()
S
64 3 9
deletePromoRule()
S
65 3 8
updatePromoRule()
S
64 3 9
deleteCartByID()
S
65 3 9
connectSite()
S
65 3 9
validateStoreSubmission()
S
67 3 8
getInterestGroupOptions()
S
68 3 7
checkConnectedSite()
S
66 3 9
webHookSubscribe()
S
57 1 18
orders()
S
63 2 10
getTransactionalCount()
S
70 2 6
__construct()
S
74 2 5
setApiKey()
S
66 2 8
getPromoCodeForRule()
S
66 2 8
applyPutRequestOnSubscriber()
S
62 2 10
getSubscribedCount()
S
70 2 6
deleteStoreProduct()
S
68 2 7
deleteCustomer()
S
68 2 7
getUnsubscribedCount()
S
70 2 6
getOrderCount()
S
68 2 7
hasList()
S
69 2 7
getList()
S
68 2 7
deleteStoreOrderLine()
S
68 2 7
deleteStoreOrder()
S
68 2 7
getListsWithMergeFields()
S
68 2 7
mergeFields()
S
67 2 7
getInterestGroups()
S
69 2 7
validateStoreOrder()
S
71 2 6
patch()
S
62 1 11
post()
S
62 1 11
put()
S
62 1 11
getWebHooks()
S
79 1 3
delete()
S
70 1 6
get()
S
70 1 6
getInstance()
S
81 1 3
products()
S
66 1 8
constructInstance()
S
79 1 3
deleteList()
S
79 1 3
updateList()
S
78 1 3
createList()
S
79 1 3
deleteMember()
S
73 1 4
members()
S
79 1 3
member()
S
73 1 4
linkAuthorizedApp()
S
77 1 3
getAuthorizedAppDetails()
S
79 1 3
getAuthorizedApps()
S
80 1 3
getProfile()
S
80 1 3
setVersion()
S
77 1 4
setDataCenter()
S
77 1 4
carts()
S
66 1 8