Moo_OnlineOrders_SooApi D

Total Complexity 434
Dependencies 1
Dependents 13
Total lines 2,155
Lines of code 1,810
Logical lines of code 894
Comment lines 120
Methods 140
Properties 12

Methods 140

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
sendVerificationSms()
A
40 11 66
apiPost()
A
47 13 33
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
51 7 24
callApi_Post()
S
47 6 35
callApi()
S
49 6 31
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
getMerchantPubKey()
S
59 5 14
getPakmsKey()
S
61 5 12
update_modifierGroups()
S
53 4 23
update_category()
S
53 4 22
customerRequestsWrapper()
S
55 4 19
getApiKey()
S
57 4 18
getBlackoutStatus()
S
57 4 17
save_modifiers()
S
56 4 16
updateItemGroup()
S
58 4 15
goToSooDash()
S
59 4 14
getRequest()
S
54 3 24
update_orderType()
S
54 3 22
update_modifier()
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
58 3 15
save_options()
S
59 3 14
save_attributes()
S
59 3 14
save_item_groups()
S
60 3 13
save_tags()
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
getTrackingStockStatus()
S
66 3 8
cloverOpeningHoursExist()
S
66 3 8
getOrdersByPage()
S
65 3 8
getMerchantAddress()
S
65 3 9
setApiLinks()
S
61 2 14
createOrderV2()
S
61 2 12
getTaxRateWithoutSaving()
S
69 2 6
getModifierGroupsWithoutSaving()
S
69 2 6
stringify()
S
68 2 7
addCoupon()
S
67 2 7
updateCoupon()
S
66 2 7
__construct()
S
70 2 6
getTags()
S
65 2 9
getModifiers()
S
65 2 9
getItemsWithoutSaving()
S
66 2 8
getMerchantProprietes()
S
65 2 9
getOptions()
S
65 2 9
getAttributes()
S
65 2 9
getOrderTypes()
S
65 2 9
payOrderUsingToken()
S
66 2 8
getItems()
S
65 2 9
getModifierGroups()
S
65 2 9
getItemGroups()
S
65 2 9
getCategories()
S
65 2 9
getItemStocks()
S
66 2 8
getOneModifierGroupWithoutSaving()
S
66 2 8
getTaxRates()
S
65 2 9
checkApiKey()
S
68 1 7
checkToken()
S
75 1 4
sendOrderEmails()
S
76 1 3
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
getOneModifierWithoutSaving()
S
74 1 4
getConnectedMerchant()
S
78 1 3
getPayKey()
S
79 1 3
getOpeningStatus()
S
73 1 4
getAutoSyncDetails()
S
77 1 3
updateAutoSyncStatus()
S
77 1 3
getAutoSyncStatus()
S
78 1 3
getThemes()
S
79 1 3
createOrder()
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
updateOrderNote()
S
77 1 3
getOrderTypesWithoutSaving()
S
75 1 4
getTaxesRatesWithoutSaving()
S
75 1 4
payOrderWithOptions()
S
75 1 4
moo_AddAddress()
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_CustomerVerifPhone()
S
77 1 3
updateCustomerPassword()
S
77 1 3
getOneOrder()
S
74 1 4
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
moo_updateCustomer()
S
76 1 3
moo_DeleteAddresses()
S
77 1 3
saveSettings()
S
66 1 8
payOrder()
S
71 1 4
assignCustomer()
S
74 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
enableCoupon()
S
77 1 3
moo_DeleteCreditCard()
S
77 1 3
deleteCoupon()
S
74 1 4
getNbCoupons()
S
79 1 3
getCoupon()
S
78 1 3
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_CustomerLogin()
S
77 1 3