Ssbhesabfa_Admin_Functions D

Total Complexity 423
Dependencies 13
Dependents 4
Total lines 4,462
Lines of code 4,077
Logical lines of code 1,135
Comment lines 87
Methods 51
Properties 0

Methods 51

Method Rating Maintainability Complexity Lines of code
convertCityCodeToName()
D
0
4 2,430
setOrder()
D
16
58 253
exportOpeningQuantity()
C
33 25 94
setOrderPayment()
B
35 21 81
syncOrders()
B
34 19 88
getContactCodeByPhoneOrEmail()
B
48 21 29
syncProductsManually()
B
40 17 54
setItemNewPrice()
B
45 18 36
importProducts()
B
31 13 108
exportProducts()
B
35 14 88
syncProducts()
A
41 12 54
setItemChanges()
A
44 12 42
updateProductsInHesabfaBasedOnStoreWithFilter()
A
44 9 51
setItems()
A
55 11 17
jalali_to_gregorian()
A
44 8 44
setItemNewQuantity()
A
51 9 25
SaveProductManuallyToHesabfa()
A
46 8 38
exportCustomers()
A
43 7 46
checkNationalCode()
S
50 7 28
updateProductsInHesabfaBasedOnStore()
S
46 6 42
submitPayment()
S
50 7 26
savePayment()
S
51 7 23
checkNationalCodeWithPhone()
S
52 7 23
getPriceInWooCommerceDefaultCurrency()
S
60 7 12
getPriceInHesabfaDefaultCurrency()
S
60 7 12
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
checkDateFormat()
S
62 3 13
CheckExistenceOfTheProductInHesabfa()
S
60 3 13
saveItems()
S
60 3 13
getInvoiceNumberByOrderId()
S
63 3 10
getBankCodeByPaymentMethod()
S
65 3 9
getCashInTransitFullPath()
S
64 3 10
getInvoiceCodeByOrderId()
S
63 3 10
checkWebsite()
S
70 2 6
convertPersianDigitsToEnglish()
S
59 1 11
disableDebugMode()
S
79 1 3
cleanLogFile()
S
77 1 4
enableDebugMode()
S
79 1 3
SaveAdditionalFieldsMeta()
S
67 1 7