WCCS_Public_Cart_Discount_Hooks A

Total Complexity 62
Dependencies 2
Dependents 1
Total lines 235
Lines of code 180
Logical lines of code 112
Comment lines 13
Methods 8
Properties 1

Methods 8

Method Rating Maintainability Complexity Lines of code
add_discount()
B
44 19 45
get_coupon_data()
A
43 13 50
cart_totals_coupon_label()
A
53 8 22
maybe_remove_coupon()
S
58 7 15
apply_individual_use_coupon()
S
59 5 15
cart_totals_coupon_html()
S
60 5 13
maybe_remove_coupon_message()
S
64 4 10
__construct()
S
62 1 10