Pi_Cdrw_Apply_Discount B

Total Complexity 76
Dependencies 6
Dependents 1
Total lines 413
Lines of code 287
Logical lines of code 183
Comment lines 27
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
addDiscountCouponData()
A
45 12 37
matchConditions()
A
54 9 21
applyDiscountCode()
S
63 7 9
addDiscount()
S
51 5 26
matchedShippingMethods()
S
53 5 21
evaluate_cost()
S
52 4 23
removeCouponRelatedError()
S
62 4 11
matchedShippingMethodsOld()
S
59 3 15
matchedDiscountMethodsForCouponTemplate()
S
58 3 15
offerStarted()
S
63 3 11
offerEnded()
S
63 3 11
excludeCartFeesTaxes()
S
71 3 6
setLabel()
S
66 3 8
__construct()
S
58 2 14
selected_product_qty()
S
59 1 16
qty()
S
59 1 16
removeCouponOption()
S
69 2 7
removeNotices()
S
74 2 5
multiCurrencyCompatible()
S
70 2 6
addFutureCoupon()
S
65 2 9