Code Analysis: Complete Mini Cart for WooCommerce 1.0.0

Function Rating Maintainability Complexity Lines of code
Cmcw_Mini_Cart::register_controls()
A
33 1 142
CMCW_Shortcode::cmcw_get_inline_shortcode_css()
A
48 8 33
Cmcw_Mini_Cart::render()
S
55 3 22
CMCW_AdminLoader::register_settings()
S
45 1 48
CMCW_Shortcode::cmcw_mini_cart_shortcode()
S
61 3 11
CMCW_Shortcode::cmcw_update_cart_count()
S
67 3 7
CMCW_Shortcode::cmcw_scripts()
S
61 2 11
CMCW_AdminLoader::get_instance()
S
71 2 6
CMCW_Plugin::get_instance()
S
71 2 6
CMCW_Plugin::init()
S
69 2 7
CMCW_AdminLoader::cmcw_register_submenu()
S
64 1 11
CMCW_AdminLoader::init()
S
72 1 5
CMCW_Plugin::missing_elementor_notice()
S
82 1 3
CMCW_AdminLoader::sanitize_callback_text()
S
80 1 3
CMCW_AdminLoader::sanitize_icon_name()
S
80 1 3
CMCW_AdminLoader::cmcw_add_options()
S
63 1 10
CMCW_Plugin::load_admin_submenu_page()
S
80 1 3
CMCW_AdminLoader::submenu_section_template()
S
80 1 3
CMCW_Plugin::load_dependencies()
S
80 1 3
CMCW_AdminLoader::__construct()
S
75 1 4
CMCW_AdminLoader::text_color_callback()
S
74 1 4
CMCW_AdminLoader::load_scripts()
S
65 1 8
CMCW_AdminLoader::icon_color_callback()
S
74 1 4
CMCW_AdminLoader::icon_size_callback()
S
74 1 4
CMCW_AdminLoader::count_size_callback()
S
74 1 4
CMCW_AdminLoader::count_position_callback()
S
74 1 4
CMCW_AdminLoader::box_margin_callback()
S
74 1 4
Cmcw_Widget_Loader::__construct()
S
75 1 4
Cmcw_Widget_Loader::init()
S
79 1 3
Cmcw_Widget_Loader::cmcw_register_widget()
S
75 1 4
Cmcw_Widget_Loader::cmcw_register_scripts()
S
78 1 3
Cmcw_Mini_Cart::get_name()
S
82 1 3
Cmcw_Mini_Cart::get_title()
S
79 1 3
Cmcw_Mini_Cart::get_icon()
S
82 1 3
CMCW_AdminLoader::icon_name_callback()
S
69 1 8
Cmcw_Mini_Cart::get_keywords()
S
78 1 3
Cmcw_Mini_Cart::get_custom_help_url()
S
82 1 3
CMCW_AdminLoader::cmcw_settings_section_callback()
S
80 1 3
CMCW_Plugin::enable_short_code_support()
S
80 1 3
CMCW_Plugin::define_constants()
S
79 1 5
CMCW_Plugin::__construct()
S
68 1 7
CMCW_AdminLoader::count_bg_color_callback()
S
74 1 4
Cmcw_Mini_Cart::get_categories()
S
81 1 3
CMCW_Shortcode::__construct()
S
69 1 6