WC_API_Coupons A

Total Complexity 75
Dependencies 5
Dependents 0
Total lines 559
Lines of code 337
Logical lines of code 187
Comment lines 117
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
edit_coupon()
C
32 30 91
create_coupon()
A
35 11 81
bulk()
A
44 9 43
get_coupon()
A
44 9 39
get_coupons()
S
60 3 13
get_coupon_by_code()
S
60 3 12
get_coupons_count()
S
61 3 11
get_coupon_expiry_date()
S
66 3 9
register_routes()
S
55 1 21
delete_coupon()
S
66 2 8
query_coupons()
S
65 1 9