WCCS_Cart_Discount A

Total Complexity 68
Dependencies 2
Dependents 1
Total lines 260
Lines of code 190
Logical lines of code 133
Comment lines 9
Methods 7
Properties 6

Methods 7

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