Code Analysis: Auto Coupons for WooCommerce 3.0.15

Function Rating Maintainability Complexity Lines of code
wac_apply_coupons()
D
13
109 177
wac_admin()
D
16
44 373
wac_adminMenu()
B
21
1 376
wac_qty_in_cart()
B
52 21 19
wac_add_coupon_fields()
B
29 11 162
wac_save_coupon()
B
47 17 31
wac_style_coupons()
S
45 5 59
wac_list_coupons()
S
62 8 9
wac_is_path()
S
61 8 10
wac_r()
S
56 7 14
wac_ct_coupons()
S
64 7 9
wac_cart_button()
S
57 4 28
wac_cache_coupon()
S
61 5 11
wac_in_like()
S
67 5 7
wac_clear_cache()
S
67 3 7
wac_removed_coupon()
S
69 3 6
wac_is_coupon_valid()
S
68 3 6
wac_sess()
S
68 3 7
wac_in()
S
73 3 4
wac_cart_coupon()
S
69 3 6
wac_get_removed_coupon()
S
74 2 4
wac_uninstall()
S
75 2 4
wac_unsr()
S
75 2 4
wac_activate()
S
69 2 6
wac_error()
S
89 1 1
wac_add_action_links()
S
68 1 7