WCCS_Cart_Discount S

Total Complexity 39
Dependencies 2
Dependents 1
Total lines 177
Lines of code 116
Logical lines of code 79
Comment lines 9
Methods 7
Properties 6

Methods 7

Method Rating Maintainability Complexity Lines of code
get_possible_discounts()
A
46 11 37
get_discount_amount()
A
50 9 30
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