Code Analysis: Disable Sales for WooCommerce 1.0.7

Most Complex Classes

Class Rating Complexity
WC_Disable_Sales
S
36

Most Complex Functions

Function Rating Complexity
WC_Disable_Sales::is_shop_open()
A
9
WC_Disable_Sales::init_hooks()
S
5
WC_Disable_Sales::print_wc_inactive_notice()
S
4
WC_Disable_Sales::print_closed_store_notice()
S
3
WC_Disable_Sales::wc_get_settings()
S
1
WC_Disable_Sales::show_shop_disabled_info_notice()
S
4
WC_Disable_Sales::disable_purchases()
S
2
WC_Disable_Sales::is_wc_installed()
S
2
WC_Disable_Sales::is_wc_active()
S
1
WC_Disable_Sales::add_wc_options_page_section()
S
1
WC_Disable_Sales::get_option()
S
1
WC_Disable_Sales::__construct()
S
1