WLFMC_Frontend D

Total Complexity 293
Dependencies 7
Dependents 2
Total lines 2,188
Lines of code 1,686
Logical lines of code 528
Comment lines 296
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
build_custom_css()
D
0
132 1,000
add_button()
B
31 14 145
get_localize()
B
35 18 74
table_meta_data()
B
43 18 43
add_to_cart_validation()
A
46 14 34
alter_add_to_cart_url()
A
47 12 33
prepare_menu()
A
37 7 77
add_to_menu()
A
43 9 45
format_fragment_options()
S
58 7 15
convert_cookies_to_session()
S
53 6 23
print_button_single()
S
63 6 10
decode_fragment_options()
S
59 5 14
update_cookies()
S
57 4 17
add_noindex_header()
S
69 4 6
build_css_rule()
S
72 4 4
__construct()
S
48 1 34
register_styles_and_stuffs()
S
63 3 8
destroy_serialized_cookies()
S
68 3 7
add_body_class()
S
65 3 9
add_nocache_headers()
S
73 3 5
add_noindex_robots()
S
69 3 6
add_endpoint_setting()
S
57 1 17
print_button_loop()
S
70 2 6
enqueue_styles_and_stuffs()
S
69 2 7
get_instance()
S
72 2 6
enqueue_scripts()
S
74 1 5
restore_add_to_cart_button()
S
71 1 5
register_widget()
S
81 1 3
alter_add_to_cart_button()
S
71 1 5
fix_outofstock_single_product_position()
S
81 1 3
wlfmc_wishlist_endpoint_content()
S
80 1 3
add_query_vars()
S
76 1 4
add_endpoint()
S
79 1 3
dashboard_wishlist_link()
S
72 1 4
init()
S
73 1 6