Woocommerce_Catalog_Enquiry_Frontend D

Total Complexity 302
Dependencies 1
Dependents 1
Total lines 1,118
Lines of code 1,003
Logical lines of code 499
Comment lines 14
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
woocommerce_loop_add_to_cart_link()
D
24
59 157
add_form_for_enquiry()
D
22
48 207
add_form_for_enquiry_without_popup()
D
24
40 188
__construct()
C
41 25 48
redirect_cart_checkout_on_conditions()
B
43 23 44
init_catalog()
A
46 16 32
price_for_selected_product()
A
46 13 39
change_permalink_url_for_selected_product()
A
45 12 43
add_to_cart_button_for_selected_product()
A
45 12 41
catalog_woocommerce_template_single()
A
43 11 49
frontend_styles()
A
48 9 32
wce_enquiry_button_shortcode()
A
57 9 14
frontend_scripts()
A
42 7 42
add_variation_product()
S
62 3 11
remove_pricing_from_catalog_orderby()
S
72 3 5
remove_add_to_cart_button()
S
62 2 10
add_custom_button_without_link()
S
66 2 8
add_external_link_button_independent()
S
64 2 9
add_read_more_button()
S
64 2 9
add_external_link_button()
S
66 2 8
remove_price_from_product_list_loop()
S
79 1 3
remove_price_from_product_list_single()
S
75 1 4