Woocommerce_Catalog_Enquiry_Frontend D

Total Complexity 291
Dependencies 1
Dependents 1
Total lines 984
Lines of code 881
Logical lines of code 489
Comment lines 12
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
add_form_for_enquiry()
D
23
56 173
add_form_for_enquiry_without_popup()
D
24
54 161
woocommerce_loop_add_to_cart_link()
C
37 26 68
__construct()
B
42 21 47
redirect_cart_checkout_on_conditions()
B
43 21 45
frontend_scripts()
B
37 16 59
price_for_selected_product()
A
45 13 41
change_permalink_url_for_selected_product()
A
44 12 44
add_to_cart_button_for_selected_product()
A
45 12 43
catalog_woocommerce_template_single()
A
43 11 49
init_catalog()
A
49 12 26
frontend_styles()
A
47 10 35
wce_enquiry_button_shortcode()
A
56 9 16
add_variation_product()
S
62 3 11
remove_pricing_from_catalog_orderby()
S
72 3 5
remove_add_to_cart_button()
S
60 2 12
add_custom_button_without_link()
S
63 2 10
add_external_link_button_independent()
S
63 2 10
add_read_more_button()
S
63 2 10
add_external_link_button()
S
63 2 10
remove_price_from_product_list_loop()
S
79 1 3
remove_price_from_product_list_single()
S
79 1 3