WC_Retailcrm_History D

Total Complexity 255
Dependencies 22
Dependents 1
Total lines 1,448
Lines of code 956
Logical lines of code 509
Comment lines 203
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
orderUpdate()
D
20
65 183
orderCreate()
D
19
57 204
editOrder()
B
36 21 85
handleCustomerDataChange()
B
36 16 86
ordersHistory()
B
36 14 80
customersHistory()
A
38 10 73
updateShippingItemId()
A
46 8 40
getItemWoocommerceId()
A
56 8 17
arrayValue()
S
64 7 9
updateProductInWcOrder()
S
53 5 23
updateMetaData()
S
58 5 15
getHistoryData()
S
62 5 12
__construct()
S
59 4 15
noRealDataInEntity()
S
61 4 12
getCRMOrder()
S
63 4 11
getHistory()
S
57 3 17
prepareChangeToIndividual()
S
60 2 16
getDeliveryCost()
S
67 3 7
getAddressLines()
S
63 3 10
getCustomData()
S
67 2 8
isOrderCorporate()
S
77 2 3
isCustomerChangedToRegular()
S
77 2 3
isCustomerChangedToLegal()
S
77 2 3
addProductInWcOrder()
S
62 1 12
getProductTotalPrice()
S
66 1 9
getProductSubTotalPrice()
S
78 1 3