Elex_Price_Discount_Admin D

Total Complexity 442
Dependencies 0
Dependents 0
Total lines 1,323
Lines of code 1,116
Logical lines of code 737
Comment lines 74
Methods 40
Properties 22

Methods 40

Method Rating Maintainability Complexity Lines of code
elex_rp_get_adjustment_amount()
D
18
101 156
elex_rp_get_price()
D
16
76 216
elex_rp_get_price_html()
B
41 21 48
elex_rp_get_adjustment_for_individual_products()
B
46 22 32
elex_rp_product_page_remove_add_to_cart_option()
B
44 19 41
elex_rp_adjust_price_for_user_roles()
A
46 15 39
elex_rp_adjust_percent_for_user_roles()
A
46 15 39
elex_rp_add_to_cart_text_content_replace()
A
50 15 25
elex_rp_add_to_cart_text_url_replace()
A
48 14 31
elex_rp_pricing_add_price_suffix()
A
48 12 29
elex_rp_shop_remove_add_to_cart()
A
51 10 25
elex_rp_is_hide_price()
A
52 9 24
currency_exchange_price()
A
51 8 25
elex_rp_hide_cart_checkout_pages()
A
54 8 20
elex_rp_get_priority_user_role()
A
57 8 16
elex_rp_variable_product_amount()
S
51 6 23
elex_rp_is_price_hidden_in_product_meta()
S
55 6 21
elex_rp_product_is_on_sale()
S
57 6 18
__construct()
S
51 5 25
init_fields()
S
51 5 23
elex_rp_get_product_category_using_id()
S
56 5 18
elex_rp_remove_filter_for_get_price()
S
55 4 20
elex_rp_add_filter_for_get_price()
S
55 4 20
elex_rp_remove_add_to_cart_action_product_page()
S
58 4 16
elex_rp_get_min_price()
S
60 4 14
elex_rp_get_max_price()
S
60 4 14
elex_rp_is_hide_regular_price()
S
61 4 12
elex_rp_get_placeholder_text()
S
60 3 14
elex_rp_fix_price_decimal_format()
S
62 3 12
elex_rp_get_add_to_cart_product_placeholder_text()
S
63 3 11
elex_rp_get_product_type()
S
63 3 11
elex_rp_get_product_id()
S
63 3 11
elex_rp_get_product_parent_id()
S
63 3 11
elex_rp_get_add_to_cart_placeholder_text()
S
65 3 10
elex_rp_view_product_text()
S
71 2 6
elex_rp_replace_add_cart_text_shop_with_url()
S
65 2 8
elex_rp_is_product_purchasable()
S
69 2 7
elex_rp_redirect_addtocart_product_page()
S
64 2 9
elex_rp_get_placeholder_text_product_hide_price()
S
64 2 10
elex_rp_replace_add_cart_text_shop()
S
70 1 6