WCCS_Cart_Discount B

Total Complexity 79
Dependencies 2
Dependents 1
Total lines 300
Lines of code 216
Logical lines of code 147
Comment lines 15
Methods 8
Properties 7

Methods 8

Method Rating Maintainability Complexity Lines of code
get_possible_discounts()
D
30 37 107
get_discount_amount()
A
46 14 40
get_valid_discounts()
A
52 10 24
get_coupon_codes()
S
60 5 15
is_cart_discount_coupon()
S
62 5 10
get_combine_coupon_code()
S
65 4 8
__construct()
S
64 3 9
get_discounts()
S
82 1 3