Pi_store_credit_discount A

Total Complexity 69
Dependencies 1
Dependents 7
Total lines 274
Lines of code 177
Logical lines of code 142
Comment lines 18
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
getAmount()
A
50 12 24
getTotalDiscountAmount()
A
50 9 26
amountThatCanBeUsedInOneOrder()
A
54 8 21
getEmailId()
S
57 8 15
getUserAvailableDiscountAmount()
S
57 7 16
discountAmount()
S
50 6 27
couponDiscountType()
S
62 6 10
getAllEmailId()
S
59 5 13
get_instance()
S
72 2 6
isCreditCoupon()
S
72 2 5
get_orders()
S
72 2 5
__construct()
S
71 1 5
cartSupportDiscountType()
S
77 1 4