CR_Review_Discount_Settings B

Total Complexity 96
Dependencies 7
Dependents 4
Total lines 795
Lines of code 724
Logical lines of code 218
Comment lines 26
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
get_coupon_for_testing()
B
37 17 73
add_admin_js()
B
33 5 216
send_test_email()
A
42 15 48
init_settings()
A
32 9 137
display_review_discount()
A
39 9 75
woocommerce_json_search_coupons()
A
48 8 31
get_review_discounts()
A
51 8 28
save_review_discount()
S
55 7 19
coupons_quick_link_filter()
S
61 5 11
coupons_quick_link()
S
55 4 18
get_media_count_field()
S
55 1 21
__construct()
S
55 1 18
is_this_tab()
S
78 2 3
get_default_coupons_setting()
S
65 1 11
register_tab()
S
75 1 4
save()
S
77 1 4
display()
S
77 1 4
get_max_coupon_messages()
S
79 1 3