Woocommerce_Catalog_Enquiry_Frontend D

Total Complexity 326
Dependencies 1
Dependents 1
Total lines 1,148
Lines of code 1,029
Logical lines of code 524
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
21
49 207
add_form_for_enquiry_without_popup()
D
24
40 188
__construct()
C
41 25 48
frontend_styles()
B
39 23 58
redirect_cart_checkout_on_conditions()
B
43 23 44
init_catalog()
A
46 16 32
add_to_cart_button_for_selected_product()
A
45 15 41
price_for_selected_product()
A
46 15 39
change_permalink_url_for_selected_product()
A
44 14 43
catalog_woocommerce_template_single()
A
43 13 49
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