WC_Retailcrm_History D

Total Complexity 248
Dependencies 20
Dependents 1
Total lines 1,415
Lines of code 934
Logical lines of code 497
Comment lines 195
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
orderUpdate()
D
20
65 183
orderCreate()
D
20
57 201
editOrder()
B
36 21 85
handleCustomerDataChange()
B
36 16 86
ordersHistory()
A
37 13 78
customersHistory()
A
39 9 70
updateShippingItemId()
A
46 8 40
getItemWoocommerceId()
A
56 8 17
arrayValue()
S
64 7 9
updateProductInWcOrder()
S
52 5 24
updateMetaData()
S
58 5 15
__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
getHistoryData()
S
68 3 7
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