YITH_WooCommerce_Catalog_Mode D

Total Complexity 190
Dependencies 3
Dependents 1
Total lines 1,015
Lines of code 565
Logical lines of code 248
Comment lines 292
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
check_hide_add_cart()
D
26
81 91
add_menu_page()
B
26
6 202
avoid_add_to_cart()
A
47 14 33
hide_atc_single_page()
A
53 8 22
hide_cart_checkout_pages()
A
54 8 20
hide_add_to_cart_quick_view()
S
51 7 28
apply_catalog_mode()
S
55 7 19
__construct()
S
53 6 20
disable_shop()
S
60 6 12
check_user_admin_enable()
S
71 6 4
hide_cart_widget()
S
58 4 16
hide_add_to_cart_loop()
S
60 4 14
enqueue_scripts_admin()
S
67 4 6
is_quick_view()
S
72 3 4
plugin_row_meta()
S
69 3 6
hide_add_to_cart_wishlist()
S
68 3 7
plugin_fw_loader()
S
66 3 9
check_pages_redirect()
S
65 3 9
get_instance()
S
72 2 6
enqueue_styles_frontend()
S
65 2 8
check_hide_cart_checkout_pages()
S
79 2 3
check_disable_shop()
S
63 2 10
hide_add_to_cart_loop_alt()
S
78 2 3
check_add_to_cart_single()
S
79 1 3
check_hide_add_cart_loop()
S
81 1 3
include_files()
S
82 1 3
action_links()
S
75 1 4