Pi_store_credit_discount S

Total Complexity 43
Dependencies 0
Dependents 7
Total lines 166
Lines of code 114
Logical lines of code 88
Comment lines 4
Methods 11
Properties 1

Methods 11

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
get_orders()
S
72 2 5
__construct()
S
74 1 4
cartSupportDiscountType()
S
77 1 4