WLFMC_Frontend D

Total Complexity 325
Dependencies 7
Dependents 2
Total lines 2,539
Lines of code 1,936
Logical lines of code 584
Comment lines 373
Methods 40
Properties 6

Methods 40

Method Rating Maintainability Complexity Lines of code
build_custom_css()
D
0
132 1,157
get_localize()
B
33 20 88
add_button()
B
31 14 145
item_meta_data()
B
43 18 43
add_to_cart_validation()
A
45 15 37
add_to_menu()
A
43 10 44
__construct()
A
38 8 67
prepare_menu()
A
37 7 79
alter_add_to_cart_url()
A
49 10 29
format_fragment_options()
S
58 7 15
convert_cookies_to_session()
S
53 6 23
add_nocache_headers()
S
71 6 5
print_button_single()
S
62 6 10
decode_fragment_options()
S
59 5 14
update_cookies()
S
57 4 17
add_to_cart()
S
57 4 16
add_body_class()
S
66 5 8
private_wishlist_404()
S
62 4 12
add_noindex_header()
S
69 4 6
build_css_rule()
S
72 4 4
enable_wishlist()
S
61 3 11
restore_add_to_cart_button()
S
65 3 9
register_styles_and_stuffs()
S
65 3 7
destroy_serialized_cookies()
S
68 3 7
account_menu_endpoint()
S
64 3 10
add_noindex_robots()
S
69 3 6
get_instance()
S
72 2 6
enqueue_styles_and_stuffs()
S
69 2 7
print_button_loop()
S
70 2 6
add_endpoint()
S
67 2 7
enqueue_scripts()
S
71 1 6
main_wishlist_header()
S
80 1 3
register_widget()
S
81 1 3
alter_add_to_cart_button()
S
69 1 6
fix_outofstock_single_product_position()
S
81 1 3
wlfmc_wishlist_endpoint_content()
S
80 1 3
add_query_vars()
S
77 1 4
dashboard_wishlist_link()
S
73 1 4
init()
S
73 1 6
main_wishlist_content()
S
80 1 3