Code Analysis: Hide Category by User Role for WooCommerce 1.1

Function Rating Maintainability Complexity Lines of code
tswchc_redirect_product_pages()
A
45 15 40
tswchc_get_hide_by_role_tab()
A
35 7 113
tswchc_get_hide_by_category_tab()
A
36 7 106
tswchc_admin_interface_render()
A
36 4 125
tswchc_apply_hide_rules()
A
52 9 24
tswchc_get_rules()
S
60 7 13
tswchc_is_checked()
S
63 6 10
tswchc_get_subcategory_terms()
S
60 5 13
tswchc_hide_products_category()
S
60 3 13
tswchc_get_woo_category_childs()
S
54 2 22
tswchc_get_filter_template()
S
60 2 16
tswchc_activate_plugin()
S
71 3 5
tswchc_dysplay_custom_message()
S
61 1 16
tswchc_general_admin_notice()
S
68 2 9
tswchc_upgrader()
S
68 2 7
tswchc_enqueue_css_js()
S
64 2 9
tswchc_get_categories_hierarchy()
S
69 2 7
tswchc_register_settings()
S
62 1 13
tswchc_get_woo_categories()
S
63 1 11
tswchc_get_available_roles()
S
70 1 6
tswchc_dump()
S
75 1 4
tswchc_add_menu_links()
S
78 1 3
tswchc_get_settings()
S
67 1 8
tswchc_enqueue_css_js_front()
S
74 1 4
tswchc_validater_and_sanitizer()
S
76 1 4