Code Analysis: Simple Share Buttons Adder 8.4.12

Function Rating Maintainability Complexity Lines of code
Admin_Panel::admin_panel()
D
0
223 1,302
Buttons::show_share_buttons()
D
21
72 154
Styles::get_ssba_style()
D
19
48 233
Admin_Bits::ssba_settings()
D
20
51 184
Buttons::get_button()
D
31 41 81
Buttons::show_share_bar()
C
43 29 36
Forms::ssbp_input()
C
34 25 77
Buttons::get_share_count()
B
39 19 60
Database::get_setting_array()
A
28
7 166
Database::upgrade_ssba()
A
34 9 98
Admin_Panel::get_custom_button_key()
A
53 14 18
Admin_Bits::enqueue_admin_assets()
A
39 11 63
Buttons::get_share_buttons()
A
50 11 27
Admin_Panel::get_available_ssba()
A
50 10 24
Database::ssba_button_helper_array()
A
31 1 158
Buttons::get_share_bar()
A
49 9 30
Database::ssba_delete_old_options()
A
31 1 145
Admin_Panel::get_selected_ssba()
A
53 9 19
Util::parse_args()
A
55 9 19
Buttons::ssba_current_url()
A
54 8 18
Plugin_Base::add_doc_hooks()
S
50 7 26
Plugin_Base::autoload()
S
52 7 25
Forms::ssbp_checkboxes()
S
52 7 24
Styles::ssba_page_scripts()
S
47 6 37
Simple_Share_Buttons_Adder::convert_settings()
S
56 7 19
Simple_Share_Buttons_Adder::is_enabled_on_this_page()
S
61 7 12
Admin_Bits::dismiss_notice()
S
53 6 23
Plugin_Base::remove_doc_hooks()
S
54 6 20
Buttons::get_share_url()
S
38 3 63
Buttons::get_button_color()
S
37 2 75
Plugin::register_admin_assets()
S
40 1 84
Simple_Share_Buttons_Adder::get_ssba_setting()
S
61 5 11
Widget::form()
S
53 4 22
Admin_Bits::sharethis_terms_notice()
S
51 3 34
Widget::widget()
S
54 4 19
Admin_Bits::ssba_ajax_add_creds()
S
58 4 15
Admin_Bits::update_gdpr()
S
59 4 14
Plugin::register_assets()
S
47 2 43
Buttons::get_button_image()
S
51 3 28
Plugin_Base::relative_path()
S
61 4 12
Admin_Bits::ssba_menu()
S
58 3 16
Admin_Panel::show_in_classic()
S
60 3 15
Forms_Validation::allowed_input_fields()
S
48 1 45
Plugin::__construct()
S
52 2 26
Plugin_Base::add_hook()
S
66 3 7
Simple_Share_Buttons_Adder::ssba_update_options()
S
63 3 10
Database::get_old_ssba_settings()
S
63 3 10
Buttons::ssba_add_button_filter()
S
65 3 9
Admin_Panel::enqueue_custom_blocks()
S
61 2 13
Simple_Share_Buttons_Adder::get_ssba_settings()
S
61 2 13
Buttons::get_share_count_url()
S
61 2 12
Admin_Panel::get_font_family()
S
61 1 16
Admin_Bits::get_font_family()
S
61 1 16
Plugin_Base::get_object_reflection()
S
69 2 7
Forms::open()
S
64 2 9
Database::activate()
S
65 2 9
Styles::ssba_script_tags()
S
70 2 6
Buttons::ssba_format_number()
S
70 2 6
Forms::ssbp_add_checkboxes()
S
60 1 13
Admin_Bits::add_ssba_menu()
S
63 1 12
Admin_Panel::simpleshare_block_category()
S
64 1 11
_simple_share_load_template()
S
66 1 11
_simple_share_buttons_adder_add_action_links()
S
70 1 6
Plugin_Base::__destruct()
S
82 1 3
Simple_Share_Buttons_Adder::add_action_links()
S
70 1 6
Simple_Share_Buttons_Adder::is_enabled_on_homepage()
S
78 1 3
Widget::update()
S
69 1 7
Buttons::ssba_orig_buttons()
S
75 1 4
Plugin_Base::__construct()
S
66 1 8
Admin_Bits::ssba_settings_link()
S
67 1 9
Simple_Share_Buttons_Adder::is_enabled_on_excerpts()
S
78 1 3
Buttons::__construct()
S
74 1 5
Plugin_Base::locate_plugin()
S
69 1 6
Simple_Share_Buttons_Adder::are_new_buttons_active()
S
75 1 4
Buttons::ssba_hide()
S
91 1 2
Simple_Share_Buttons_Adder::get_facebook_app_id()
S
78 1 3
Admin_Panel::get_gdpr_vendors()
S
75 1 4
Admin_Panel::admin_footer()
S
80 1 3
Simple_Share_Buttons_Adder::__construct()
S
81 1 3
Simple_Share_Buttons_Adder::is_enabled_on_categories()
S
78 1 3
Simple_Share_Buttons_Adder::get_bar_height()
S
78 1 3
Admin_Panel::__construct()
S
69 1 7
Admin_Panel::admin_header()
S
80 1 3
Simple_Share_Buttons_Adder::get_content_priority()
S
78 1 3
Simple_Share_Buttons_Adder::is_enabled_on_posts()
S
78 1 3
Admin_Bits::ssba_ajax_hide_review()
S
72 1 5
Database::__construct()
S
69 1 6
Widget::__construct()
S
67 1 9
_simple_share_buttons_adder_php_version_text()
S
80 1 3
Simple_Share_Buttons_Adder::has_accepted_sharethis_terms()
S
78 1 3
Buttons::ssba_buttons()
S
75 1 4
Database::deactivate()
S
67 1 9
_simple_share_buttons_adder_php_version_error()
S
79 1 3
Plugin_Base::add_filter()
S
64 1 10
get_plugin_instance()
S
79 1 4
Simple_Share_Buttons_Adder::get_bar_width_style()
S
75 1 4
Simple_Share_Buttons_Adder::get_font_family()
S
79 1 3
Simple_Share_Buttons_Adder::are_facebook_insights_enabled()
S
78 1 3
Admin_Bits::__construct()
S
71 1 6
Simple_Share_Buttons_Adder::get_bar_width()
S
78 1 3
Simple_Share_Buttons_Adder::are_custom_styles_enabled()
S
78 1 3
Simple_Share_Buttons_Adder::are_bar_custom_styles_enabled()
S
78 1 3
Plugin_Base::add_shortcode()
S
79 1 3
Simple_Share_Buttons_Adder::ignore_facebook_sdk()
S
78 1 3
Plugin_Base::add_action()
S
64 1 10
Forms::close()
S
68 1 8
Styles::__construct()
S
77 1 4
Widget::mywidget_init()
S
75 1 4
Simple_Share_Buttons_Adder::get_bar_height_style()
S
75 1 4
Admin_Panel::register_widget()
S
81 1 3
Simple_Share_Buttons_Adder::is_enabled_on_pages()
S
78 1 3
Forms::__construct()
S
81 1 3