Ssbhesabfa_Admin_Functions D

Total Complexity 466
Dependencies 13
Dependents 4
Total lines 4,772
Lines of code 4,234
Logical lines of code 1,201
Comment lines 203
Methods 56
Properties 0

Methods 56

Method Rating Maintainability Complexity Lines of code
convertCityCodeToName()
D
0
4 2,430
setOrder()
D
9
82 333
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
45 12 38
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
savePayment()
S
51 7 23
checkNationalCodeWithPhone()
S
52 7 23
setReceivingWarehouseReceipt()
S
50 6 27
getPriceInHesabfaDefaultCurrency()
S
60 7 12
getPriceInWooCommerceDefaultCurrency()
S
60 7 12
setWarehouseReceipt()
S
50 6 26
convertStateNameToPersian()
S
45 5 40
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
54 4 19
syncLastChangeID()
S
59 4 14
getContactCodeByCustomerId()
S
57 3 18
setGuestCustomer()
S
56 3 16
setContact()
S
57 3 15
get_state_city_term_name()
S
65 4 9
saveItems()
S
60 3 13
CheckExistenceOfTheProductInHesabfa()
S
60 3 13
checkDateFormat()
S
62 3 13
getCashInTransitFullPath()
S
64 3 10
getInvoiceNumberByOrderId()
S
63 3 10
getBankCodeByPaymentMethod()
S
65 3 9
getInvoiceCodeByOrderId()
S
63 3 10
deleteInvoiceLink()
S
64 2 10
deleteInvoicesOptions()
S
64 2 10
checkWebsite()
S
70 2 6
convertPersianDigitsToEnglish()
S
59 1 11
cleanLogFile()
S
77 1 4
SaveAdditionalFieldsMeta()
S
67 1 7
enableDebugMode()
S
79 1 3
disableDebugMode()
S
79 1 3