WLFMC_Frontend D

Total Complexity 413
Dependencies 7
Dependents 2
Total lines 2,852
Lines of code 2,156
Logical lines of code 692
Comment lines 463
Methods 50
Properties 6

Methods 50

Method Rating Maintainability Complexity Lines of code
build_custom_css()
D
0
136 1,169
add_button()
D
25
33 202
get_localize()
B
33 20 83
item_meta_data()
B
42 18 46
add_to_cart_validation()
B
44 17 38
add_to_menu()
A
39 15 55
prepare_menu()
A
35 11 87
alter_add_to_cart_url()
A
48 12 29
__construct()
A
37 9 72
add_to_cart()
A
53 10 20
format_fragment_options()
A
56 10 17
decode_fragment_options()
A
54 9 19
array_diff_recursive()
S
56 7 18
convert_cookies_to_session()
S
53 6 23
list_notices()
S
63 7 9
register_styles_and_stuffs()
S
54 5 18
add_nocache_headers()
S
71 6 5
print_button_single()
S
62 6 10
is_multidimensional()
S
63 5 11
update_cookies()
S
57 4 17
add_body_class()
S
66 5 8
enable_wishlist()
S
58 4 13
private_wishlist_404()
S
62 4 12
add_noindex_robots()
S
68 4 6
build_css_rule()
S
72 4 4
enqueue_styles_and_stuffs()
S
66 3 9
account_menu_endpoint()
S
64 3 10
restore_add_to_cart_button()
S
65 3 9
add_menu_item_class()
S
67 3 9
destroy_serialized_cookies()
S
68 3 7
wlfmc_single_flex_image_top_left()
S
69 2 9
add_gdpr_notice()
S
73 2 5
wlfmc_single_flex_image_top_right()
S
69 2 9
add_unsubscribe_notice()
S
73 2 5
wlfmc_single_flex_image_bottom_left()
S
69 2 9
wlfmc_single_flex_image_bottom_right()
S
69 2 9
wlfmc_loop_flex_image_top_left()
S
69 2 9
wlfmc_loop_flex_image_top_right()
S
69 2 9
get_instance()
S
72 2 6
print_button_loop()
S
70 2 6
add_endpoint()
S
67 2 7
add_query_vars()
S
77 1 4
register_widget()
S
81 1 3
dashboard_wishlist_link()
S
73 1 4
wlfmc_wishlist_endpoint_content()
S
80 1 3
alter_add_to_cart_button()
S
69 1 6
fix_outofstock_single_product_position()
S
81 1 3
enqueue_scripts()
S
71 1 6
main_wishlist_content()
S
80 1 3
init()
S
73 1 6