Discount_Coupons S

Total Complexity 27
Dependencies 3
Dependents 1
Total lines 329
Lines of code 168
Logical lines of code 102
Comment lines 113
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
validate_coupon()
A
46 8 44
delete_coupon()
S
54 3 21
update_coupon_usage_count()
S
56 3 17
apply_discount()
S
49 2 32
ajax_init_form_submission()
S
56 3 17
apply_coupon()
S
58 2 16
get_coupon_id()
S
67 3 8
instance()
S
71 2 6
__construct()
S
68 1 7