WCCS_Cart_Discount B

Total Complexity 77
Dependencies 2
Dependents 1
Total lines 293
Lines of code 209
Logical lines of code 144
Comment lines 15
Methods 8
Properties 7

Methods 8

Method Rating Maintainability Complexity Lines of code
get_possible_discounts()
D
31 35 100
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