Moo_OnlineOrders_SooApi D

Total Complexity 473
Dependencies 3
Dependents 13
Total lines 2,126
Lines of code 1,800
Logical lines of code 909
Comment lines 112
Methods 140
Properties 11

Methods 140

Method Rating Maintainability Complexity Lines of code
getOrderDetails()
D
31 39 99
syncCloverItem()
D
28
35 120
save_items()
C
33 29 85
getAndSaveItems()
B
43 19 49
apiPost()
A
48 14 32
sendVerificationSms()
A
40 11 66
getOpeningHours()
A
46 13 33
sendSmsTo()
A
41 10 58
apiGet()
A
50 12 26
apiDelete()
A
50 12 26
insertOrUpdateCategory()
A
45 10 39
getJwtToken()
A
44 7 47
removeOrderFromClover()
A
47 7 37
callApi_Post()
S
47 6 35
getClientIp()
S
62 7 12
save_order_types()
S
54 6 20
sendHttpRequest()
S
48 5 34
createTicket()
S
49 5 33
postRequest()
S
55 5 21
getBusinessSettings()
S
55 5 19
save_modifiers()
S
55 5 18
callApi()
S
56 5 17
getMerchantPubKey()
S
59 5 14
save_modifier_groups()
S
55 4 19
customerRequestsWrapper()
S
55 4 19
getApiKey()
S
57 4 18
getBlackoutStatus()
S
57 4 17
save_attributes()
S
57 4 16
save_One_orderType()
S
57 4 16
save_options()
S
57 4 16
save_item_groups()
S
58 4 15
updateItemGroup()
S
58 4 15
getCategories()
S
59 4 14
goToSooDash()
S
59 4 14
save_tags()
S
61 4 13
getRequest()
S
54 3 24
getOneModifierGroups()
S
54 3 19
delete_item()
S
56 3 18
getMerchantUuid()
S
59 3 14
getPakmsKey()
S
61 3 12
save_tax_rates()
S
63 3 11
checkAnyToken()
S
53 2 24
save_one_tax_rate()
S
57 2 16
cloverOpeningHoursExist()
S
66 3 8
getModifierWithoutSaving()
S
68 3 6
getTrackingStockStatus()
S
66 3 8
getMerchantAddress()
S
65 3 9
getOrdersByPage()
S
65 3 8
save_one_tag()
S
61 2 12
setApiLinks()
S
63 2 12
createOrderV2()
S
61 2 12
getTaxRateWithoutSaving()
S
69 2 6
getModifierGroupsWithoutSaving()
S
69 2 6
updateCoupon()
S
65 2 8
addCoupon()
S
67 2 7
stringify()
S
68 2 7
sendEvent()
S
66 2 8
__construct()
S
70 2 6
getMerchantProprietes()
S
65 2 9
getModifierGroups()
S
65 2 9
getItemStocks()
S
68 2 7
getOneItemStock()
S
68 2 7
getItemsWithoutSaving()
S
64 2 9
getOrderTypes()
S
65 2 9
getTaxRates()
S
65 2 9
getTags()
S
65 2 9
getOptions()
S
65 2 9
getAttributes()
S
65 2 9
getModifiers()
S
65 2 9
payOrderUsingToken()
S
66 2 8
getItemGroups()
S
65 2 9
getOneModifierGroupWithoutSaving()
S
66 2 8
getOpeningStatus()
S
73 1 4
getItemsPerCategoryWithoutSaving()
S
74 1 4
getModifiersGroupsWithoutSaving()
S
75 1 4
getModifiersWithoutSaving()
S
75 1 4
getOneModifierWithoutSaving()
S
74 1 4
checkApiKey()
S
68 1 7
getCategoriesWithoutSaving()
S
75 1 4
checkToken()
S
75 1 4
getConnectedMerchant()
S
78 1 3
saveSettings()
S
66 1 8
getMerchantCustomHoursStatus()
S
72 1 5
getAutoSyncDetails()
S
77 1 3
updateAutoSyncStatus()
S
77 1 3
getAutoSyncStatus()
S
78 1 3
getAllCustomHours()
S
72 1 5
getMerchantCustomHours()
S
72 1 5
updateOrderNote()
S
77 1 3
goToReports()
S
70 1 6
getThemes()
S
79 1 3
resetJwtToken()
S
70 1 6
getSession()
S
80 1 3
taxRateExists()
S
67 1 8
itemExists()
S
67 1 8
getItem()
S
67 1 8
categoryExists()
S
67 1 8
getCategory()
S
67 1 8
sendOrderEmails()
S
76 1 3
createOrder()
S
75 1 4
saveMerchantSettings()
S
66 1 8
payOrderWithOptions()
S
75 1 4
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
moo_CustomerVerifPhone()
S
77 1 3
payOrder()
S
71 1 4
CreateOrdersTypes()
S
79 1 3
moo_GetOrders()
S
78 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
getGiftCardBalance()
S
73 1 4
getOneOrder()
S
74 1 4
moo_GetCustomer()
S
78 1 3
moo_AddAddress()
S
75 1 4
getTaxesRatesWithoutSaving()
S
75 1 4
addModifierToLine()
S
77 1 3
getOrderTypesWithoutSaving()
S
75 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
enableCoupon()
S
73 1 4
moo_updateCustomer()
S
76 1 3
deleteCoupon()
S
74 1 4
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_DeleteAddresses()
S
77 1 3
updateCustomerPassword()
S
77 1 3
insertCategoryItemRelation()
S
64 1 10