Ssbhesabfa_Admin_Functions D

Total Complexity 443
Dependencies 13
Dependents 4
Total lines 4,636
Lines of code 4,119
Logical lines of code 1,159
Comment lines 198
Methods 53
Properties 0

Methods 53

Method Rating Maintainability Complexity Lines of code
convertCityCodeToName()
D
0
4 2,430
setOrder()
D
13
71 278
exportOpeningQuantity()
C
34 25 83
setOrderPayment()
B
35 21 80
syncOrders()
B
34 19 88
getContactCodeByPhoneOrEmail()
B
48 21 29
exportProducts()
B
34 15 90
syncProductsManually()
B
40 17 54
setItemNewPrice()
B
45 18 35
importProducts()
B
31 13 108
syncProducts()
A
41 12 53
setItemChanges()
A
46 11 37
updateProductsInHesabfaBasedOnStoreWithFilter()
A
44 9 51
setItems()
A
55 11 17
jalali_to_gregorian()
A
44 8 44
SaveProductManuallyToHesabfa()
A
46 8 38
exportCustomers()
A
43 7 46
setItemNewQuantity()
A
52 8 22
checkNationalCode()
S
50 7 28
updateProductsInHesabfaBasedOnStore()
S
46 6 42
submitPayment()
S
50 7 26
checkNationalCodeWithPhone()
S
52 7 23
savePayment()
S
51 7 23
getPriceInWooCommerceDefaultCurrency()
S
60 7 12
getPriceInHesabfaDefaultCurrency()
S
60 7 12
setReceivingWarehouseReceipt()
S
50 6 27
setWarehouseReceipt()
S
50 6 26
getProductVariations()
S
55 6 19
formatPhoneNumber()
S
60 6 13
generateGUID()
S
61 6 11
isDateInFiscalYear()
S
54 5 21
normalizePhoneNumber()
S
58 5 15
formatTransactionFee()
S
63 6 10
CheckValidityOfTheProductInWoocommerce()
S
53 4 24
getGUID()
S
55 4 19
syncLastChangeID()
S
59 4 14
getContactCodeByCustomerId()
S
57 3 18
setGuestCustomer()
S
56 3 16
setContact()
S
57 3 15
CheckExistenceOfTheProductInHesabfa()
S
60 3 13
checkDateFormat()
S
62 3 13
saveItems()
S
60 3 13
getInvoiceCodeByOrderId()
S
63 3 10
getBankCodeByPaymentMethod()
S
65 3 9
getInvoiceNumberByOrderId()
S
63 3 10
getCashInTransitFullPath()
S
64 3 10
checkWebsite()
S
70 2 6
deleteInvoiceLink()
S
64 2 10
convertPersianDigitsToEnglish()
S
59 1 11
disableDebugMode()
S
79 1 3
enableDebugMode()
S
79 1 3
SaveAdditionalFieldsMeta()
S
67 1 7
cleanLogFile()
S
77 1 4