Code Analysis: Auto Coupons for WooCommerce 3.0.0

Function Rating Maintainability Complexity Lines of code
wac_apply_coupons()
D
14
103 173
wac_admin()
D
19
33 315
wac_qty_in_cart()
B
52 21 19
wac_adminMenu()
B
23
1 318
wac_add_coupon_fields()
A
31 8 153
wac_save_coupon()
A
48 15 30
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_cart_coupon()
S
86 3 1
wac_clear_cache()
S
67 3 7
wac_sess()
S
68 3 7
wac_is_coupon_valid()
S
68 3 6
wac_removed_coupon()
S
69 3 6
wac_in()
S
73 3 4
wac_unsr()
S
75 2 4
wac_activate()
S
67 2 7
wac_uninstall()
S
75 2 4
wac_get_removed_coupon()
S
74 2 4
wac_add_action_links()
S
68 1 7
wac_error()
S
89 1 1
wac_shh()
S
100 1 1