Moo_OnlineOrders_CallAPI D

Total Complexity 430
Dependencies 2
Dependents 12
Total lines 2,126
Lines of code 1,811
Logical lines of code 923
Comment lines 100
Methods 130
Properties 10

Methods 130

Method Rating Maintainability Complexity Lines of code
getOrderDetails()
D
28
40 125
getOrderDetails2()
D
28
40 124
update_item()
B
34 21 91
save_one_item()
B
32 18 112
sendVerificationSms()
A
40 11 66
apiPost()
A
45 12 42
sendSmsTo()
A
41 10 58
apiGet()
A
51 12 25
getOpeningHours()
A
49 12 25
save_items()
A
43 8 49
getJwtToken()
A
44 7 46
removeOrderFromClover()
A
47 7 37
save_categories()
S
51 7 24
getRequest()
S
49 6 35
save_order_types()
S
55 6 18
createTicket()
S
49 5 33
postRequest()
S
52 5 27
callApi_Post()
S
49 4 32
getBlackoutStatus()
S
56 5 17
getPakmsKey()
S
61 5 12
callApi()
S
52 4 25
update_modifierGroups()
S
53 4 23
update_category()
S
53 4 22
getApiKey()
S
57 4 18
save_modifiers()
S
56 4 16
updateItemGroup()
S
58 4 15
goToSooDash()
S
59 4 14
sendHttpRequest()
S
53 3 23
update_orderType()
S
54 3 22
update_modifier()
S
54 3 22
update_taxRate()
S
55 3 19
delete_item()
S
56 3 17
save_modifier_groups()
S
56 3 17
save_tax_rates()
S
58 3 15
save_attributes()
S
59 3 14
save_options()
S
59 3 14
save_tags()
S
60 3 13
save_item_groups()
S
60 3 13
save_One_orderType()
S
60 3 12
createOrderV2()
S
61 3 12
getItem()
S
62 3 11
getOneModifierGroups()
S
56 2 17
getAndSaveMerchantPubKey()
S
64 3 10
getMerchantAddress()
S
65 3 9
getTrackingStockStatus()
S
66 3 8
getModifierWithoutSaving()
S
68 3 6
__construct()
S
61 2 14
getModifierGroupsWithoutSaving()
S
69 2 6
getOneModifierGroupWithoutSaving()
S
66 2 8
getItemsWithoutSaving()
S
66 2 8
getMerchantProprietes()
S
65 2 9
getTaxRateWithoutSaving()
S
69 2 6
addCoupon()
S
67 2 7
updateCoupon()
S
66 2 7
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
stringify()
S
68 2 7
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
payOrderUsingToken()
S
66 2 8
getItemStocks()
S
66 2 8
getTaxesRatesWithoutSaving()
S
75 1 4
getOneModifierWithoutSaving()
S
74 1 4
sendOrderEmails()
S
76 1 3
getModifiersWithoutSaving()
S
75 1 4
getModifiersGroupsWithoutSaving()
S
75 1 4
getItemsPerCategoryWithoutSaving()
S
74 1 4
getCategoriesWithoutSaving()
S
75 1 4
updateAutoSyncStatus()
S
77 1 3
checkToken()
S
75 1 4
checkAnyToken()
S
75 1 4
checkApiKey()
S
68 1 7
getConnectedMerchant()
S
78 1 3
getOpeningStatus()
S
77 1 3
getAutoSyncDetails()
S
77 1 3
getAutoSyncStatus()
S
78 1 3
getThemes()
S
79 1 3
getPayKey()
S
79 1 3
getOneCategory()
S
74 1 4
getMerchantCustomHours()
S
72 1 5
getMerchantCustomHoursStatus()
S
72 1 5
goToReports()
S
70 1 6
resetJwtToken()
S
70 1 6
getOrderTypesWithoutSaving()
S
75 1 4
payOrderWithOptions()
S
75 1 4
updateOrderNote()
S
77 1 3
updateOrderType()
S
77 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
addlineToOrder()
S
76 1 3
addLinesToOrder()
S
77 1 3
CreateOrdersTypes()
S
79 1 3
addOrderType()
S
77 1 3
moo_GetAddresses()
S
78 1 3
GetOrdersTypes()
S
75 1 4
GetOneOrdersTypes()
S
74 1 4
NotifyMerchant()
S
76 1 3
addlineWithPriceToOrder()
S
76 1 3
addModifierToLine()
S
77 1 3
saveSettings()
S
66 1 8
payOrder()
S
71 1 4
assignCustomer()
S
74 1 4
moo_GetCustomer()
S
78 1 3
getCategoryWithoutSaving()
S
74 1 4
moo_checkCoupon_for_couponsApp()
S
78 1 3
getItemWithoutSaving()
S
74 1 4
createOrder()
S
75 1 4
enableCoupon()
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()
S
78 1 3
moo_GetOrders()
S
78 1 3
moo_updateAddresses()
S
91 1 2
moo_setDefaultAddresses()
S
91 1 2
moo_DeleteCreditCard()
S
77 1 3
moo_DeleteAddresses()
S
77 1 3
updateCustomerPassword()
S
77 1 3
moo_updateCustomer()
S
76 1 3
moo_AddAddress()
S
75 1 4
moo_ResetPassword()
S
78 1 3