WCCS_Cart_Discount A

Total Complexity 64
Dependencies 2
Dependents 1
Total lines 250
Lines of code 186
Logical lines of code 117
Comment lines 9
Methods 7
Properties 6

Methods 7

Method Rating Maintainability Complexity Lines of code
get_possible_discounts()
D
32 31 97
get_discount_amount()
A
46 14 40
get_valid_discounts()
A
55 8 20
get_combine_coupon_code()
S
64 4 9
__construct()
S
64 3 9
is_cart_discount_coupon()
S
66 3 8
get_discounts()
S
82 1 3