Moo_OnlineOrders_SooApi D

Total Complexity 438
Dependencies 2
Dependents 13
Total lines 2,165
Lines of code 1,819
Logical lines of code 884
Comment lines 121
Methods 142
Properties 11

Methods 142

Method Rating Maintainability Complexity Lines of code
getOrderDetails()
D
31 39 99
update_item()
B
34 21 91
save_one_item()
B
32 18 112
apiPost()
A
48 14 32
sendVerificationSms()
A
40 11 66
getOpeningHours()
A
46 13 33
sendSmsTo()
A
41 10 58
apiDelete()
A
50 12 26
apiGet()
A
50 12 26
save_items()
A
43 8 49
getJwtToken()
A
44 7 47
removeOrderFromClover()
A
47 7 37
save_categories()
S
49 7 29
callApi_Post()
S
47 6 35
getClientIp()
S
62 7 12
sendHttpRequest()
S
48 5 34
createTicket()
S
49 5 33
postRequest()
S
55 5 21
getBusinessSettings()
S
55 5 19
save_order_types()
S
55 5 18
callApi()
S
56 5 17
getMerchantPubKey()
S
59 5 14
getPakmsKey()
S
61 5 12
update_category()
S
52 4 23
update_modifierGroups()
S
53 4 23
customerRequestsWrapper()
S
55 4 19
getApiKey()
S
57 4 18
getBlackoutStatus()
S
57 4 17
save_modifiers()
S
57 4 16
updateItemGroup()
S
58 4 15
goToSooDash()
S
59 4 14
getRequest()
S
54 3 24
update_modifier()
S
54 3 22
update_orderType()
S
54 3 22
update_taxRate()
S
55 3 19
delete_item()
S
56 3 18
save_modifier_groups()
S
56 3 17
save_tax_rates()
S
56 3 17
save_options()
S
59 3 14
save_attributes()
S
59 3 14
save_tags()
S
60 3 13
save_item_groups()
S
60 3 13
save_One_orderType()
S
60 3 12
getItem()
S
61 3 12
checkAnyToken()
S
53 2 24
getOneModifierGroups()
S
56 2 17
getModifierWithoutSaving()
S
68 3 6
getOrdersByPage()
S
65 3 8
cloverOpeningHoursExist()
S
66 3 8
getTrackingStockStatus()
S
66 3 8
getMerchantAddress()
S
65 3 9
createOrderV2()
S
61 2 12
setApiLinks()
S
63 2 12
sendEvent()
S
66 2 8
stringify()
S
68 2 7
addCoupon()
S
67 2 7
updateCoupon()
S
65 2 8
getTaxRateWithoutSaving()
S
69 2 6
getModifierGroupsWithoutSaving()
S
69 2 6
__construct()
S
70 2 6
getMerchantProprietes()
S
65 2 9
payOrderUsingToken()
S
66 2 8
getTaxRates()
S
65 2 9
getItemsWithoutSaving()
S
66 2 8
getItemStocks()
S
68 2 7
getTags()
S
65 2 9
getOptions()
S
65 2 9
getAttributes()
S
65 2 9
getModifiers()
S
65 2 9
getItems()
S
65 2 9
getModifierGroups()
S
65 2 9
getItemGroups()
S
65 2 9
getCategories()
S
65 2 9
getOneModifierGroupWithoutSaving()
S
66 2 8
getOneItemStock()
S
68 2 7
getOrderTypes()
S
65 2 9
sendOrderEmails()
S
76 1 3
checkApiKey()
S
68 1 7
checkToken()
S
75 1 4
saveMerchantSettings()
S
66 1 8
getCategoriesWithoutSaving()
S
75 1 4
getItemsPerCategoryWithoutSaving()
S
74 1 4
getModifiersGroupsWithoutSaving()
S
75 1 4
getModifiersWithoutSaving()
S
75 1 4
updateOrderNote()
S
77 1 3
getOneModifierWithoutSaving()
S
74 1 4
getThemes()
S
79 1 3
getConnectedMerchant()
S
78 1 3
getOpeningStatus()
S
73 1 4
getAutoSyncDetails()
S
77 1 3
updateAutoSyncStatus()
S
77 1 3
getAutoSyncStatus()
S
78 1 3
getTaxesRatesWithoutSaving()
S
75 1 4
getOneCategory()
S
74 1 4
getAllCustomHours()
S
72 1 5
getMerchantCustomHours()
S
72 1 5
getMerchantCustomHoursStatus()
S
72 1 5
goToReports()
S
70 1 6
resetJwtToken()
S
70 1 6
getSession()
S
80 1 3
createOrder()
S
75 1 4
getOrderTypesWithoutSaving()
S
75 1 4
saveSettings()
S
66 1 8
payOrderWithOptions()
S
75 1 4
moo_GetOrders()
S
78 1 3
moo_GetCustomer()
S
78 1 3
moo_GetAddresses()
S
78 1 3
moo_ResetPassword()
S
78 1 3
moo_CustomerSignup()
S
75 1 4
moo_CustomerFbLogin()
S
75 1 4
moo_CustomerLogin()
S
77 1 3
getGiftCardBalance()
S
73 1 4
moo_updateCustomer()
S
76 1 3
CreateOrdersTypes()
S
79 1 3
updateOrderType()
S
77 1 3
addOrderType()
S
77 1 3
GetOrdersTypes()
S
75 1 4
GetOneOrdersTypes()
S
74 1 4
NotifyMerchant()
S
76 1 3
getOneOrder()
S
74 1 4
moo_AddAddress()
S
75 1 4
updateCustomerPassword()
S
77 1 3
assignCustomer()
S
74 1 4
enableCoupon()
S
73 1 4
addlineToOrder()
S
76 1 3
addLinesToOrder()
S
77 1 3
getCategoryWithoutSaving()
S
74 1 4
getItemWithoutSaving()
S
74 1 4
addlineWithPriceToOrder()
S
76 1 3
addModifierToLine()
S
77 1 3
payOrder()
S
71 1 4
deleteCoupon()
S
74 1 4
moo_DeleteAddresses()
S
77 1 3
getNbCoupons()
S
79 1 3
getCoupon()
S
74 1 4
getCoupons()
S
78 1 3
moo_checkCoupon_for_couponsApp()
S
78 1 3
moo_checkCoupon()
S
78 1 3
moo_updateAddresses()
S
91 1 2
moo_setDefaultAddresses()
S
91 1 2
moo_DeleteCreditCard()
S
77 1 3
moo_CustomerVerifPhone()
S
77 1 3