Code Analysis: ShareThis Share Buttons 1.5.2

Function Rating Maintainability Complexity Lines of code
Share_Buttons::setButtonConfig()
C
37 30 63
Share_Buttons::enqueueAdminAssets()
C
37 24 70
Minute_Control::get_hide_status()
B
42 20 50
Share_Buttons::setNetworks()
B
22
1 326
Share_Buttons::generalSettingsDisplay()
B
46 20 34
Minute_Control::update_list()
B
46 17 33
Share_Buttons::configSettings()
A
42 15 47
Minute_Control::set_inline_content()
A
50 15 25
Minute_Control::get_alternate_hide()
A
46 14 38
Share_Buttons::setSettings()
A
28
1 223
Share_Buttons::returnOmit()
A
44 10 44
Minute_Control::get_position()
A
50 11 27
Share_Buttons::getDescriptions()
A
40 7 73
Minute_Control::is_box_checked()
A
51 10 23
Share_Buttons::activationInformNotice()
A
44 8 51
Share_Buttons::setGdprConfig()
A
54 10 18
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::settingsApiInit()
S
47 6 37
Plugin::register_assets()
S
59 7 12
Plugin_Base::remove_doc_hooks()
S
54 6 20
Share_Buttons::socialButtonLink()
S
42 3 60
Share_Buttons::setTheDefaults()
S
46 4 43
Minute_Control::set_sticky_visibility()
S
60 6 12
Share_Buttons::propertySetting()
S
56 5 17
Minute_Control::get_inline_container()
S
60 6 10
Share_Buttons::updateMetaboxList()
S
61 5 12
Share_Buttons::connectionMadeAdminNotice()
S
55 4 23
Share_Buttons::getOmit()
S
53 4 22
Minute_Control::inline_shortcode()
S
64 5 8
Share_Buttons::isPropertyIdSet()
S
64 5 10
Share_Buttons::updateButtons()
S
59 4 13
Share_Buttons::setCredentials()
S
60 4 12
Share_Buttons::notInList()
S
62 4 12
Share_Buttons::defineSharethisMenus()
S
52 3 26
Minute_Control::share_buttons_custom_box()
S
54 3 22
Button_Widget::widget()
S
64 4 10
Share_Buttons::randomGif()
S
60 3 12
Share_Buttons::stDeactivationHook()
S
68 3 7
Plugin_Base::_add_hook()
S
66 3 7
Plugin::__construct()
S
59 2 14
Minute_Control::enqueue_admin_assets()
S
60 2 13
Share_Buttons::__construct()
S
59 1 16
Share_Buttons::generalSettings()
S
59 1 16
Share_Buttons::setDefaultSettings()
S
66 2 8
Plugin_Base::get_object_reflection()
S
69 2 7
Share_Buttons::shareButtonDisplay()
S
68 2 7
Share_Buttons::setLanguages()
S
60 1 14
Plugin::register_admin_assets()
S
60 1 13
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::__construct()
S
66 1 8
Share_Buttons::getSetupSteps()
S
65 1 9
Share_Buttons::listCb()
S
80 1 3
Plugin_Base::locate_plugin()
S
66 1 7
Minute_Control::share_buttons_metabox()
S
73 1 4
Minute_Control::__construct()
S
81 1 3
Button_Widget::update()
S
77 1 4
Share_Buttons::enqueueMu()
S
79 1 3
Share_Buttons::stActivationHook()
S
72 1 5
Share_Buttons::enableCb()
S
80 1 3
Share_Buttons::shortcodeTemplate()
S
80 1 3
Plugin_Base::__destruct()
S
83 1 3
sharethis_inline_buttons()
S
83 1 3
Plugin_Base::add_filter()
S
68 1 7
Share_Buttons::getVendors()
S
75 1 4
Share_Buttons::shareButtonsSettings()
S
64 1 10
_sharethis_share_buttons_php_version_text()
S
73 1 6
Share_Buttons::registerWidgets()
S
81 1 3
Plugin_Base::add_action()
S
68 1 7
get_plugin_instance()
S
79 1 4
Button_Widget::form()
S
82 1 3
Plugin_Base::add_shortcode()
S
79 1 3
Minute_Control::enqueue_custom_blocks()
S
76 1 3
_sharethis_share_buttons_add_action_links()
S
70 1 6