YITH_WCWL_Frontend D

Total Complexity 146
Dependencies 3
Dependents 1
Total lines 1,323
Lines of code 886
Logical lines of code 292
Comment lines 278
Methods 34
Properties 4

Methods 34

Method Rating Maintainability Complexity Lines of code
_build_custom_css()
D
19
23 373
alter_add_to_cart_url()
A
48 10 31
alter_add_to_cart_args()
A
50 10 28
format_fragment_options()
A
49 8 31
yith_wcfbt_shortcode()
S
55 7 17
register_styles()
S
49 6 29
add_button()
S
51 6 25
_convert_cookies_to_session()
S
53 6 23
update_font_awesome_classes()
S
36 2 82
register_scripts()
S
52 6 22
_update_cookies()
S
57 5 17
decode_fragment_options()
S
59 5 14
add_products_class_on_loop()
S
59 4 15
enqueue_styles_and_stuffs()
S
60 3 15
_build_css_rule()
S
72 4 4
get_localize()
S
48 1 33
yith_wfbt_redirect_after_add_to_cart()
S
69 3 6
_destroy_serialized_cookies()
S
68 3 7
wishlist_footer()
S
70 3 5
wishlist_header()
S
70 3 5
main_wishlist_content()
S
70 3 5
enqueue_custom_style()
S
68 3 7
add_nocache_headers()
S
73 3 5
add_body_class()
S
65 3 9
__construct()
S
53 1 22
alter_add_to_cart_text()
S
71 2 5
detect_javascript()
S
71 2 7
enqueue_scripts()
S
65 2 10
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