WC_Retailcrm_History D

Total Complexity 274
Dependencies 23
Dependents 1
Total lines 1,579
Lines of code 1,047
Logical lines of code 549
Comment lines 211
Methods 27
Properties 6

Methods 27

Method Rating Maintainability Complexity Lines of code
orderUpdate()
D
20
65 193
orderCreate()
D
19
57 216
editOrder()
B
36 21 87
ordersHistory()
B
35 17 89
handleCustomerDataChange()
B
36 16 88
updateItemsForUsedCoupons()
A
45 15 41
customersHistory()
A
38 10 72
updateShippingItemId()
A
46 8 40
getItemWoocommerceId()
A
56 8 17
updateProductInWcOrder()
S
49 5 31
arrayValue()
S
64 7 9
__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
63 3 11
getDeliveryCost()
S
67 3 7
getAddressLines()
S
63 3 10
prepareChangeToIndividual()
S
62 2 12
addProductInWcOrder()
S
53 1 26
getCustomData()
S
67 2 8
isOrderCorporate()
S
77 2 3
isCustomerChangedToRegular()
S
77 2 3
isCustomerChangedToLegal()
S
77 2 3
getProductSubTotalPrice()
S
78 1 3
getProductTotalPrice()
S
66 1 9