Code Analysis: Complete Mini Cart for WooCommerce 1.0.0

Most Complex Classes

Class Rating Complexity
CMCW_AdminLoader
S
20
CMCW_Shortcode
S
17
Cmcw_Mini_Cart
S
10
CMCW_Plugin
S
10
Cmcw_Widget_Loader
S
4

Most Complex Functions

Function Rating Complexity
Cmcw_Mini_Cart::register_controls()
A
1
CMCW_Shortcode::cmcw_get_inline_shortcode_css()
A
8
Cmcw_Mini_Cart::render()
S
3
CMCW_AdminLoader::register_settings()
S
1
CMCW_Shortcode::cmcw_mini_cart_shortcode()
S
3
CMCW_Shortcode::cmcw_update_cart_count()
S
3
CMCW_Shortcode::cmcw_scripts()
S
2
CMCW_AdminLoader::get_instance()
S
2
CMCW_Plugin::get_instance()
S
2
CMCW_Plugin::init()
S
2
CMCW_AdminLoader::cmcw_register_submenu()
S
1
CMCW_AdminLoader::init()
S
1