YITH_WCWL_Frontend D

Total Complexity 188
Dependencies 3
Dependents 1
Total lines 1,798
Lines of code 1,053
Logical lines of code 377
Comment lines 558
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
build_custom_css()
D
19
23 379
alter_add_to_cart_url()
A
48 10 31
alter_add_to_cart_args()
A
50 10 27
add_button_for_blocks_product_grid_item()
A
46 8 39
add_button_for_blockified_template()
A
53 9 22
format_fragment_options()
A
49 8 30
yith_wcfbt_shortcode()
A
55 8 18
register_styles()
S
48 6 31
add_products_class_on_loop()
S
57 7 15
register_scripts()
S
51 6 23
convert_cookies_to_session()
S
53 6 23
update_font_awesome_classes()
S
36 2 82
add_button_for_loop()
S
49 5 32
update_cookies()
S
57 5 17
add_button_for_single()
S
50 4 32
decode_fragment_options()
S
59 5 14
get_button()
S
58 4 15
add_button_after_block()
S
61 4 11
get_localize()
S
44 1 46
add_noindex_header()
S
69 4 6
build_css_rule()
S
72 4 4
enqueue_styles_and_stuffs()
S
64 3 11
wishlist_footer()
S
70 3 5
destroy_serialized_cookies()
S
68 3 7
add_noindex_robots()
S
69 3 6
wishlist_header()
S
70 3 5
main_wishlist_content()
S
70 3 5
yith_wfbt_redirect_after_add_to_cart()
S
69 3 6
enqueue_custom_style()
S
68 3 7
add_nocache_headers()
S
73 3 5
add_body_class()
S
65 3 9
__construct()
S
52 1 23
get_instance()
S
72 2 6
alter_add_to_cart_text()
S
71 2 5
detect_javascript()
S
71 2 7
print_notices()
S
75 2 5
print_button()
S
70 2 6
add_button_before_block()
S
65 2 9
enqueue_scripts()
S
69 2 7
restore_add_to_cart_button()
S
72 1 5
alter_add_to_cart_button()
S
71 1 5
add_button()
S
72 1 5
init()
S
70 1 7