Code Analysis: ShareThis Share Buttons 1.5.6

Function Rating Maintainability Complexity Lines of code
Share_Buttons::set_button_config()
C
36 25 74
Share_Buttons::enqueue_admin_assets()
C
37 24 70
Minute_Control::get_hide_status()
B
42 20 50
Share_Buttons::set_networks()
B
22
1 326
Share_Buttons::general_settings_display()
B
44 19 41
Minute_Control::update_list()
B
46 17 33
Minute_Control::get_alternate_hide()
A
45 16 41
Share_Buttons::config_settings()
A
42 15 47
Minute_Control::set_inline_content()
A
50 15 25
Share_Buttons::set_settings()
A
28
1 223
Share_Buttons::return_omit()
A
40 10 64
Minute_Control::get_position()
A
50 11 27
Share_Buttons::get_descriptions()
A
40 7 73
Minute_Control::is_box_checked()
A
51 10 23
Share_Buttons::activation_inform_notice()
A
44 8 52
Share_Buttons::set_gdpr_config()
A
49 7 31
Minute_Control::set_inline_excerpt()
S
59 8 13
Plugin_Base::add_doc_hooks()
S
50 7 26
Plugin_Base::autoload()
S
52 7 25
Share_Buttons::settings_api_init()
S
47 6 37
Plugin::register_assets()
S
53 7 21
Plugin_Base::remove_doc_hooks()
S
54 6 20
Share_Buttons::set_the_defaults()
S
46 4 43
Minute_Control::set_sticky_visibility()
S
60 6 12
Share_Buttons::social_button_link()
S
44 3 50
Share_Buttons::property_setting()
S
56 5 17
Minute_Control::get_inline_container()
S
60 6 10
Share_Buttons::update_metabox_list()
S
59 5 15
Share_Buttons::get_omit()
S
53 4 22
Minute_Control::inline_shortcode()
S
64 5 8
Share_Buttons::is_property_id_set()
S
64 5 10
Share_Buttons::update_buttons()
S
59 4 13
Share_Buttons::set_credentials()
S
60 4 12
Share_Buttons::define_sharethis_menus()
S
52 3 26
Share_Buttons::connection_made_admin_notice()
S
54 3 24
Minute_Control::share_buttons_custom_box()
S
54 3 22
Button_Widget::widget()
S
64 4 10
Share_Buttons::random_gif()
S
60 3 12
Plugin::register_admin_assets()
S
48 1 42
Minute_Control::enqueue_admin_assets()
S
56 2 19
Share_Buttons::not_in_list()
S
65 3 8
Plugin_Base::add_hook()
S
66 3 7
Share_Buttons::st_deactivation_hook()
S
68 3 7
Plugin::__construct()
S
59 2 14
Share_Buttons::__construct()
S
59 1 16
Share_Buttons::general_settings()
S
59 1 16
Share_Buttons::share_button_display()
S
68 2 7
Plugin_Base::get_object_reflection()
S
69 2 7
Share_Buttons::set_default_settings()
S
66 2 8
Share_Buttons::set_languages()
S
60 1 14
Button_Widget::__construct()
S
63 1 12
Minute_Control::st_block_category()
S
64 1 11
_sharethis_share_buttons_php_version_error()
S
79 1 3
Plugin_Base::locate_plugin()
S
66 1 7
Share_Buttons::share_buttons_settings()
S
64 1 10
Plugin_Base::__construct()
S
66 1 8
Minute_Control::__construct()
S
81 1 3
Share_Buttons::shortcode_template()
S
80 1 3
Plugin_Base::__destruct()
S
82 1 3
Plugin_Base::add_action()
S
64 1 10
Share_Buttons::enqueue_mu()
S
79 1 3
Minute_Control::enqueue_custom_blocks()
S
76 1 3
Minute_Control::share_buttons_metabox()
S
73 1 4
Share_Buttons::get_vendors()
S
75 1 4
Share_Buttons::register_widgets()
S
81 1 3
sharethis_inline_buttons()
S
83 1 3
Share_Buttons::list_cb()
S
80 1 3
Share_Buttons::get_setup_steps()
S
65 1 9
Share_Buttons::st_activation_hook()
S
72 1 5
_sharethis_share_buttons_php_version_text()
S
73 1 6
Button_Widget::update()
S
77 1 4
Button_Widget::form()
S
82 1 3
get_plugin_instance()
S
79 1 4
Plugin_Base::add_filter()
S
64 1 10
_sharethis_share_buttons_add_action_links()
S
70 1 6
Plugin_Base::add_shortcode()
S
79 1 3
Share_Buttons::enable_cb()
S
80 1 3