Code Analysis: Deluxe Shop as a Customer for WooCommerce 1.0.0

Most Complex Classes

Class Rating Complexity
Deluxe_WC_Shop_As_A_Customer
A
74

Most Complex Functions

Function Rating Complexity
Deluxe_WC_Shop_As_A_Customer::action_init()
A
13
Deluxe_WC_Shop_As_A_Customer::switch_to_customer()
A
9
dsaac_get_settings()
S
5
Deluxe_WC_Shop_As_A_Customer::plugins_loaded()
S
6
Deluxe_WC_Shop_As_A_Customer::allowed_users()
S
5
dsaac_init_checkout_section()
S
5
dsaac_get_default()
S
5
Deluxe_WC_Shop_As_A_Customer::check_user_cap()
S
4
Deluxe_WC_Shop_As_A_Customer::maybe_shop_as_url()
S
4
dsaac_admin_page()
S
3
Deluxe_WC_Shop_As_A_Customer::enqueue_scripts()
S
3
Deluxe_WC_Shop_As_A_Customer::woocommerce_inactive_notice()
S
3