Alg_WC_Call_For_Price C

Total Complexity 120
Dependencies 1
Dependents 0
Total lines 656
Lines of code 398
Logical lines of code 222
Comment lines 227
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
alg_wc_cfp_handle_cfp_text()
C
36 23 79
on_empty_price()
B
38 20 66
__construct()
B
41 16 52
make_empty_price_by_product_price()
A
50 9 29
make_empty_price_per_taxonomy()
A
56 8 17
alg_cfp_empty_price_products_stock_management()
S
56 7 17
fetch_product_price_if_zero_or_empty()
S
56 5 21
remove_button_on_archives()
S
64 4 9
hide_sales_flash()
S
70 3 6
make_variation_visible_with_empty_price()
S
65 3 9
hook_price_filters()
S
67 3 7
hide_variation_price_required_placeholder()
S
66 1 16
is_enabled_per_product()
S
76 2 3
make_empty_price_out_of_stock()
S
69 2 7
hide_main_variable_price_on_single_product_page()
S
79 2 3
change_button_text()
S
76 2 3
alg_call_for_price_to_remove_atc_button()
S
69 2 7
get_variation_prices_hash()
S
59 1 13
alg_call_for_price_setting_script()
S
64 1 11
make_empty_price()
S
79 1 3
hide_main_variable_price_on_single_product_page_with_css()
S
82 1 3
hide_disabled_variation_add_to_cart_button()
S
82 1 3
add_hooks()
S
66 1 8
alg_wc_cfp_stock_setting_for_empty_price_product()
S
79 1 3
alg_wc_cfp_setting_for_zero_priced_product()
S
79 1 3