WLFMC_Frontend D

Total Complexity 224
Dependencies 4
Dependents 2
Total lines 1,895
Lines of code 1,442
Logical lines of code 414
Comment lines 260
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
build_custom_css()
D
0
123 947
add_button()
B
34 12 117
alter_add_to_cart_url()
A
46 11 36
prepare_menu()
A
38 7 69
format_fragment_options()
A
50 8 29
_convert_cookies_to_session()
S
53 6 23
_update_cookies()
S
57 5 17
decode_fragment_options()
S
59 5 14
add_to_menu()
S
60 4 12
build_css_rule()
S
72 4 4
add_noindex_header()
S
69 4 6
get_localize()
S
47 1 36
_destroy_serialized_cookies()
S
68 3 7
register_styles_and_stuffs()
S
63 3 8
add_noindex_robots()
S
69 3 6
add_body_class()
S
65 3 9
add_nocache_headers()
S
73 3 5
__construct()
S
52 1 24
print_button_loop()
S
70 2 6
print_button_single()
S
70 2 6
enqueue_styles_and_stuffs()
S
69 2 7
get_instance()
S
72 2 6
add_endpoint_setting()
S
59 1 14
enqueue_scripts()
S
74 1 5
restore_add_to_cart_button()
S
79 1 3
register_widget()
S
81 1 3
alter_add_to_cart_button()
S
78 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
73 1 4
init()
S
73 1 6