Deluxe_WC_Shop_As_A_Customer A

Total Complexity 74
Dependencies 2
Dependents 1
Total lines 513
Lines of code 315
Logical lines of code 158
Comment lines 130
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
action_init()
A
41 13 56
switch_to_customer()
A
50 9 30
plugins_loaded()
S
53 6 21
allowed_users()
S
56 5 19
check_user_cap()
S
61 4 12
maybe_shop_as_url()
S
62 4 11
enqueue_scripts()
S
57 3 19
woocommerce_inactive_notice()
S
58 3 16
is_woocommerce_activated()
S
63 4 9
get_original_user()
S
63 3 11
action_admin_bar_menu()
S
66 3 9
build_shopping_as_user_menu()
S
54 1 22
filter_login_message()
S
64 2 9
filter_customer_row_actions()
S
66 2 8
get_original_user_cookie()
S
65 2 9
clear_original_user_cookie()
S
69 2 6
get_instance()
S
70 2 7
switch_to_url()
S
63 1 12
switch_back_url()
S
64 1 11
init()
S
72 1 5
remember()
S
70 1 5
is_switched()
S
80 1 3
set_original_user_cookie()
S
71 1 5