YITH_WCWL_Frontend D

Total Complexity 165
Dependencies 3
Dependents 1
Total lines 1,677
Lines of code 990
Logical lines of code 332
Comment lines 509
Methods 38
Properties 4

Methods 38

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
format_fragment_options()
A
49 8 30
add_button()
A
43 6 53
add_button_for_block()
A
48 7 34
yith_wcfbt_shortcode()
A
55 8 18
register_styles()
S
48 6 31
register_scripts()
S
51 6 23
convert_cookies_to_session()
S
53 6 23
update_font_awesome_classes()
S
36 2 82
update_cookies()
S
57 5 17
decode_fragment_options()
S
59 5 14
add_products_class_on_loop()
S
59 4 15
get_button()
S
58 4 15
get_localize()
S
44 1 46
build_css_rule()
S
72 4 4
add_noindex_header()
S
69 4 6
enqueue_styles_and_stuffs()
S
64 3 11
yith_wfbt_redirect_after_add_to_cart()
S
69 3 6
destroy_serialized_cookies()
S
68 3 7
main_wishlist_content()
S
70 3 5
wishlist_footer()
S
70 3 5
wishlist_header()
S
70 3 5
enqueue_custom_style()
S
68 3 7
add_noindex_robots()
S
69 3 6
add_nocache_headers()
S
73 3 5
add_body_class()
S
65 3 9
__construct()
S
52 1 23
detect_javascript()
S
71 2 7
alter_add_to_cart_text()
S
71 2 5
enqueue_scripts()
S
69 2 7
print_notices()
S
75 2 5
print_button()
S
70 2 6
get_instance()
S
72 2 6
alter_add_to_cart_button()
S
71 1 5
restore_add_to_cart_button()
S
72 1 5
init()
S
70 1 7