WC_Retailcrm_History D

Total Complexity 274
Dependencies 23
Dependents 1
Total lines 1,536
Lines of code 1,011
Logical lines of code 548
Comment lines 211
Methods 27
Properties 6

Methods 27

Method Rating Maintainability Complexity Lines of code
orderUpdate()
D
20
65 184
orderCreate()
D
19
57 204
editOrder()
B
36 21 85
ordersHistory()
B
34 17 89
handleCustomerDataChange()
B
36 16 86
updateItemsForUsedCoupons()
A
45 15 41
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
__construct()
S
57 5 18
updateMetaData()
S
58 5 16
getHistoryData()
S
62 5 12
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
getProductSubTotalPrice()
S
78 1 3
getProductTotalPrice()
S
66 1 9