CR_Review_Discount_Settings C

Total Complexity 109
Dependencies 8
Dependents 7
Total lines 888
Lines of code 815
Logical lines of code 255
Comment lines 27
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
get_coupon_for_testing()
B
37 17 73
add_admin_js()
B
33 5 216
init_settings()
A
31 9 147
send_test_email()
A
42 15 48
display_review_discount()
A
39 9 75
display_incentivized_badge()
A
43 8 58
woocommerce_json_search_coupons()
A
48 8 31
get_review_discounts()
A
51 8 28
save_review_discount()
S
55 7 19
save()
S
56 5 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
54 1 19
is_this_tab()
S
78 2 3
get_default_coupons_setting()
S
65 1 11
get_max_coupon_messages()
S
79 1 3
register_tab()
S
75 1 4
display()
S
77 1 4
get_incentivized_badge_setting()
S
68 1 7