Pi_store_credit_discount S

Total Complexity 41
Dependencies 0
Dependents 6
Total lines 160
Lines of code 109
Logical lines of code 85
Comment lines 4
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
amountThatCanBeUsedInOneOrder()
A
54 8 21
getTotalDiscountAmount()
S
54 7 19
getUserAvailableDiscountAmount()
S
60 6 12
getEmailId()
S
61 6 11
discountAmount()
S
57 4 15
getAllEmailId()
S
61 4 12
get_instance()
S
72 2 6
isCreditCoupon()
S
72 2 5
__construct()
S
74 1 4
cartSupportDiscountType()
S
77 1 4