WCCS_Cart_Discount D

Total Complexity 130
Dependencies 3
Dependents 1
Total lines 443
Lines of code 330
Logical lines of code 219
Comment lines 19
Methods 11
Properties 7

Methods 11

Method Rating Maintainability Complexity Lines of code
get_discount_data()
D
30 39 109
get_valid_discounts()
B
40 22 53
get_possible_discounts()
B
44 17 45
get_discount_amount()
A
46 14 40
get_manual_coupon()
A
51 13 27
is_manual_coupon()
S
62 7 11
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