Moo_OnlineOrders_CallAPI D

Total Complexity 411
Dependencies 2
Dependents 12
Total lines 2,064
Lines of code 1,740
Logical lines of code 885
Comment lines 103
Methods 125
Properties 10

Methods 125

Method Rating Maintainability Complexity Lines of code
getOrderDetails()
D
28
40 125
getOrderDetails2()
D
28
40 124
update_item()
C
32 26 97
save_one_item()
B
32 18 110
sendVerificationSms()
A
40 11 66
sendSmsTo()
A
41 10 58
getOpeningHours()
A
49 12 25
save_items()
A
43 8 48
apiPost()
A
49 9 31
apiGet()
A
52 9 25
removeOrderFromClover()
A
47 7 37
getJwtToken()
S
45 6 42
save_categories()
S
51 7 24
getRequest()
S
49 6 35
createTicket()
S
49 5 33
save_order_types()
S
55 6 18
getBlackoutStatus()
S
56 5 17
callApi_Post()
S
49 4 32
callApi()
S
51 4 27
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
postRequest()
S
54 3 24
sendHttpRequest()
S
53 3 24
update_orderType()
S
54 3 22
update_modifier()
S
54 3 22
update_taxRate()
S
55 3 19
save_modifier_groups()
S
56 3 17
delete_item()
S
56 3 17
save_tax_rates()
S
58 3 15
save_attributes()
S
59 3 14
save_options()
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
62 3 11
getOneModifierGroups()
S
56 2 17
getTrackingStockStatus()
S
66 3 8
getModifierWithoutSaving()
S
68 3 6
getMerchantAddress()
S
65 3 9
__construct()
S
62 2 12
getModifierGroupsWithoutSaving()
S
69 2 6
getOptions()
S
65 2 9
getItemStocks()
S
66 2 8
getItemsWithoutSaving()
S
66 2 8
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
getAttributes()
S
65 2 9
getItemWithoutSaving()
S
69 2 6
getCategoryWithoutSaving()
S
69 2 6
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
getMerchantProprietes()
S
65 2 9
getModifiersWithoutSaving()
S
75 1 4
sendOrderEmails()
S
76 1 3
getModifiersGroupsWithoutSaving()
S
75 1 4
getItemsPerCategoryWithoutSaving()
S
74 1 4
getCategoriesWithoutSaving()
S
75 1 4
updateOrderNote()
S
77 1 3
getThemes()
S
79 1 3
checkToken()
S
75 1 4
checkAnyToken()
S
75 1 4
checkApiKey()
S
68 1 7
getOpeningStatus()
S
77 1 3
getAutoSyncDetails()
S
77 1 3
updateAutoSyncStatus()
S
77 1 3
getAutoSyncStatus()
S
78 1 3
getPakmsKey()
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
getTaxesRatesWithoutSaving()
S
75 1 4
payOrderWithOptions()
S
75 1 4
getOrderTypesWithoutSaving()
S
75 1 4
CreateOrdersTypes()
S
79 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
addLinesToOrder()
S
77 1 3
addlineWithPriceToOrder()
S
76 1 3
updateOrderType()
S
77 1 3
addlineToOrder()
S
76 1 3
addOrderType()
S
77 1 3
GetOrdersTypes()
S
75 1 4
GetOneOrdersTypes()
S
74 1 4
NotifyMerchant()
S
76 1 3
addModifierToLine()
S
77 1 3
payOrder()
S
71 1 4
createOrderV2()
S
74 1 4
moo_ResetPassword()
S
78 1 3
moo_GetCustomer()
S
78 1 3
createOrder()
S
75 1 4
moo_checkCoupon_for_couponsApp()
S
78 1 3
moo_PayOrderUsingSpreedly()
S
75 1 3
assignCustomer()
S
74 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_GetAddresses()
S
78 1 3