Ssbhesabfa_Admin_Functions D

Total Complexity 331
Dependencies 11
Dependents 5
Total lines 3,977
Lines of code 3,661
Logical lines of code 888
Comment lines 60
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
convertCityCodeToName()
D
0
4 2,430
setOrder()
D
19
50 210
exportOpeningQuantity()
C
34 25 83
setOrderPayment()
B
36 18 77
getContactCodeByPhoneOrEmail()
B
49 20 27
syncProductsManually()
B
40 17 54
setItemNewPrice()
B
45 18 35
exportProducts()
B
36 14 76
importProducts()
A
32 11 100
syncProducts()
A
41 12 53
syncOrders()
A
40 11 57
setItemChanges()
A
47 11 31
setItems()
A
55 11 17
updateProductsInHesabfaBasedOnStoreWithFilter()
A
48 9 33
exportCustomers()
A
43 7 46
setItemNewQuantity()
A
52 8 22
CheckNationalCode()
S
50 7 28
updateProductsInHesabfaBasedOnStore()
S
49 6 30
getPriceInHesabfaDefaultCurrency()
S
60 7 12
getPriceInWooCommerceDefaultCurrency()
S
60 7 12
setWarehouseReceipt()
S
50 6 26
getProductVariations()
S
55 6 19
generateGUID()
S
61 6 11
isDateInFiscalYear()
S
54 5 21
getGUID()
S
55 4 19
setGuestCustomer()
S
56 3 16
setContact()
S
57 3 15
saveItems()
S
60 3 13
getContactCodeByCustomerId()
S
61 3 12
getInvoiceCodeByOrderId()
S
63 3 10
getInvoiceNumberByOrderId()
S
63 3 10
getCashInTransitFullPath()
S
64 3 10
getBankCodeByPaymentMethod()
S
69 2 7
CheckWebsite()
S
70 2 6
convertPersianDigitsToEnglish()
S
59 1 11
cleanLogFile()
S
77 1 4
enableDebugMode()
S
79 1 3
disableDebugMode()
S
79 1 3
getWoocommerceIdBasedOnHesabfaId()
S
71 1 5
deleteFromConnectionTableBasedOnWoocommercePosts()
S
69 1 7