Code Analysis: Shareaholic - Grow and Engage Your Audience 9.7.13

Function Rating Maintainability Complexity Lines of code
ShareaholicPublic::share_counts_api()
C
37 28 61
ShareaholicCurlMultiShareCount::get_counts()
B
32 21 103
ShareaholicAdmin::plugin_settings()
B
37 22 72
ShareaholicPublic::permalink_info()
B
32 19 105
ShareaholicPublicJS::get_base_settings()
B
35 20 81
ShareaholicSixToSeven::transform_shortener_configuration()
B
45 22 38
ShareaholicHttp::send_with_wp()
B
38 18 66
ShareaholicUtilities::site_language()
B
43 19 43
ShareaholicSeqShareCount::get_counts()
B
40 18 53
ShareaholicAdmin::admin_code_blocks()
B
42 18 51
ShareaholicPublic::draw_article_meta_tag()
B
42 18 47
ShareaholicCurl::send_request()
B
35 15 91
ShareaholicPublic::canvas()
B
43 18 42
ShareaholicSixToSeven::services_iterator()
B
43 17 51
ShareaholicUtilities::clear_cache()
B
44 16 48
ShareaholicCurlMultiShareCount::curl_setopts()
A
42 15 48
ShareaholicPublic::draw_canvases()
A
46 14 36
ShareaholicPublic::permalink_list()
A
45 13 40
ShareaholicPublic::permalink_related()
A
38 11 67
ShareaholicCurl::send_request_with_wp()
A
40 11 62
ShareaholicSixToSeven::update()
A
36 9 90
ShareaholicUtilities::get_or_create_api_key()
A
39 9 68
ShareaholicPublic::draw_keywords_meta_tag()
A
46 11 36
ShareaholicUtilities::location_sync_update_plugin()
A
50 11 27
ShareaholicSixToSeven::transform_top_bar_configuration()
A
45 10 42
ShareaholicPublic::draw_og_tags()
A
50 11 26
ShareaholicUtilities::EightToNineUpdate()
A
50 11 26
ShareaholicUtilities::notify_content_manager_singlepage()
A
45 10 40
ShareaholicUtilities::perform_update()
A
53 11 21
shareaholic_deactivate_feedback()
A
44 9 48
ShareaholicSixToSeven::transform_headline_text_settings()
A
50 10 31
ShareaholicUtilities::get_share_counts_api_status()
A
56 11 16
ShareaholicPublic::debug_info()
A
40 8 60
ShareaholicUtilities::post_featured_image()
A
51 10 25
ShareaholicAdmin::check_redirect_url()
A
47 9 36
ShareaholicSixToSeven::transform_sexybookmarks_configuration()
A
43 8 50
ShareaholicUtilities::turn_on_locations()
A
53 9 28
ShareaholicUtilities::page_type()
A
61 10 11
ShareaholicUtilities::permalink_keywords()
A
48 8 34
ShareaholicUtilities::admin_bar_extended()
A
42 6 57
ShareaholicUtilities::get_new_location_name_ids()
A
51 8 24
ShareaholicPublic::shortcode()
A
49 7 35
ShareaholicUtilities::location_sync_status()
A
48 7 35
ShareaholicUtilities::share_counts_api_connectivity_check()
S
51 7 24
ShareaholicUtilities::user_info()
S
46 6 39
ShareaholicAdmin::check_plugin_review()
S
54 7 19
ShareaholicAdmin::check_review_dismissal()
S
56 7 17
ShareaholicUtilities::site_id_is200()
S
54 6 21
ShareaholicUtilities::site_id_is404()
S
54 6 21
ShareaholicPublic::shareaholic_resource_hints()
S
56 6 19
ShareaholicSixToSeven::like_button_set_services()
S
55 6 19
ShareaholicAdmin::cloud_settings()
S
50 5 31
ShareaholicUtilities::version_greater_than()
S
57 6 16
ShareaholicUtilities::set_default_location_settings()
S
50 5 31
ShareaholicAdmin::admin_init()
S
58 6 16
ShareaholicUtilities::array_merge_recursive_distinct()
S
58 6 15
ShareaholicAdmin::enqueue_scripts()
S
56 6 15
ShareaholicUtilities::location_sync_to_cloud()
S
50 5 29
ShareaholicUtilities::post_transitioned()
S
61 6 12
ShareaholicUtilities::facebook_auth_check()
S
55 5 20
ShareaholicSixToSeven::pad_locations()
S
55 5 20
ShareaholicAdmin::admin_menu()
S
46 3 49
ShareaholicUtilities::api_key_verified()
S
55 5 19
ShareaholicAdmin::disable_post_attributes()
S
57 5 16
ShareaholicPublic::draw_image_meta_tag()
S
58 5 16
ShareaholicAdmin::display_review_notice()
S
43 2 60
ShareaholicAdmin::add_location()
S
50 4 30
ShareaholicUtilities::log_bad_response()
S
63 6 8
ShareaholicUtilities::version_less_than()
S
59 5 14
ShareaholicPublic::parse_services()
S
59 5 14
ShareaholicQueryStringBuilder::to_param()
S
60 5 13
ShareaholicSixToSeven::set_page_types()
S
60 5 11
ShareaholicAdmin::draw_admin_form()
S
53 4 23
ShareaholicCron::remove_transients()
S
53 4 21
ShareaholicUtilities::post_first_image()
S
57 4 17
Shareaholic::__construct()
S
43 2 47
ShareaholicAdmin::activation_redirect()
S
62 5 10
ShareaholicUtilities::admin_plugin_action_links()
S
57 4 15
Shareaholic::after_activation()
S
58 4 15
ShareaholicNotifier::post_notify()
S
44 2 45
ShareaholicUtilities::prepareLocationsArray()
S
59 4 15
ShareaholicShareCount::has_http_error()
S
68 5 6
ShareaholicSixToSeven::transform_classicbookmarks_locations()
S
50 3 30
ShareaholicUtilities::connectivity_check()
S
59 4 14
ShareaholicAdmin::send_welcome_email()
S
47 2 42
ShareaholicPublic::has_services_in_result()
S
61 4 12
ShareaholicAdmin::deactivation_survey_data()
S
42 1 57
ShareaholicUtilities::get_file_url_for_environment()
S
62 4 11
ShareaholicUtilities::associative_array_slice()
S
62 4 11
ShareaholicUtilities::heartbeat()
S
46 2 39
ShareaholicShareCount::get_services_config()
S
45 1 53
ShareaholicCron::activate()
S
55 3 22
ShareaholicPublic::has_curl()
S
77 4 3
Shareaholic::shareaholic_init()
S
68 4 7
ShareaholicCron::deactivate()
S
61 3 14
ShareaholicUtilities::reset_settings()
S
60 3 13
ShareaholicSixToSeven::transform_recommendations_configuration()
S
60 3 13
ShareaholicPublic::script_tag()
S
62 3 12
ShareaholicUtilities::object_to_array()
S
62 3 12
ShareaholicUtilities::permalink_thumbnail()
S
62 3 12
ShareaholicUtilities::accept_terms_of_service()
S
63 3 11
ShareaholicAdmin::get_publisher_token()
S
61 3 11
ShareaholicUtilities::log_event()
S
51 2 26
ShareaholicUtilities::truncate_text()
S
62 3 11
ShareaholicShareCount::get_client_ip()
S
63 3 11
ShareaholicPublic::sdk_info()
S
56 2 20
ShareaholicUtilities::notify_content_manager_singledomain()
S
56 2 19
ShareaholicUtilities::log()
S
71 3 5
ShareaholicShareCount::buffer_count_callback()
S
67 3 7
ShareaholicAdmin::include_remote_js()
S
70 3 5
ShareaholicShareCount::odnoklassniki_count_callback()
S
67 3 7
ShareaholicUtilities::asset_url()
S
64 3 10
ShareaholicShareCount::facebook_count_callback()
S
65 3 8
ShareaholicShareCount::vk_count_callback()
S
66 3 8
ShareaholicShareCount::reddit_count_callback()
S
66 3 7
ShareaholicUtilities::version_greater_than_or_equal_to()
S
66 3 8
ShareaholicShareCount::tumblr_count_callback()
S
67 3 7
ShareaholicShareCount::yummly_count_callback()
S
67 3 7
ShareaholicUtilities::version_less_than_or_equal_to()
S
66 3 8
ShareaholicUtilities::asset_url_admin()
S
65 3 9
ShareaholicNotifier::send_notification()
S
64 3 9
ShareaholicPublic::after_setup_theme()
S
65 3 9
ShareaholicUtilities::get_internal_share_counts_api_status()
S
66 3 8
ShareaholicUtilities::before_post_is_updated()
S
68 3 7
ShareaholicShareCount::fancy_count_callback()
S
63 3 9
ShareaholicUtilities::check_for_other_plugin()
S
68 3 8
ShareaholicUtilities::get_env()
S
65 3 9
ShareaholicAdmin::failed_to_create_api_key()
S
71 3 5
ShareaholicUtilities::before_post_is_trashed()
S
68 3 7
ShareaholicShareCount::pinterest_count_callback()
S
65 3 8
ShareaholicUtilities::fetch_fb_access_token()
S
69 3 6
ShareaholicUtilities::get_active_plugins()
S
65 3 8
ShareaholicAdmin::draw_verify_api_key()
S
61 2 13
ShareaholicAdmin::add_meta_boxes()
S
62 2 13
ShareaholicUtilities::get_default_sb_off_locations()
S
56 1 24
ShareaholicUtilities::get_default_sb_on_locations()
S
56 1 24
Shareaholic::get_instance()
S
70 2 7
Shareaholic::terms_of_service()
S
69 2 7
ShareaholicQueryStringBuilder::bool_to_param()
S
79 2 3
ShareaholicCron::heartbeat()
S
75 2 5
ShareaholicUtilities::get_stats()
S
64 2 9
ShareaholicUtilities::site_name()
S
78 2 3
Shareaholic::shareaholic_draw_canvas()
S
67 2 7
ShareaholicAdmin::admin_notices()
S
63 2 10
ShareaholicPublic::draw_language_meta_tag()
S
70 2 6
ShareaholicAdmin::welcome_email()
S
70 2 6
ShareaholicSixToSeven::transform_wordpress_specific_settings()
S
67 2 7
ShareaholicPublicJS::get_overrides()
S
69 2 7
ShareaholicUtilities::get_option()
S
74 2 4
ShareaholicPublic::draw_site_name_meta_tag()
S
70 2 6
ShareaholicPublic::draw_site_id_meta_tag()
S
70 2 6
ShareaholicPublic::draw_url_meta_tag()
S
69 2 6
shareaholic_update_primary_plugin()
S
74 2 5
ShareaholicUtilities::get_version()
S
77 2 3
ShareaholicQueryStringBuilder::build_query_string()
S
67 2 7
ShareaholicUtilities::get_icon_svg()
S
69 2 7
ShareaholicQueryStringBuilder::assoc_array_to_param_iterator()
S
73 2 4
ShareaholicCurl::strip_utf8_bom()
S
67 2 7
ShareaholicAdmin::save_post()
S
73 2 5
ShareaholicShareCount::is_url_encoded()
S
68 2 7
ShareaholicUtilities::update_location_name_ids()
S
67 2 7
update_primary_shareaholic_plugin_file()
S
72 2 6
ShareaholicUtilities::normalize_keywords()
S
71 2 5
ShareaholicUtilities::rocket_exclude_js()
S
69 2 7
ShareaholicShareCount::__construct()
S
66 2 9
Shareaholic::update()
S
68 2 7
ShareaholicSixToSeven::cleanup_v6_options()
S
61 1 14
ShareaholicUtilities::defaults()
S
60 1 14
ShareaholicQueryStringBuilder::assoc_array_to_param()
S
62 1 12
ShareaholicPublic::shareaholic_tags()
S
65 1 12
ShareaholicUtilities::get_default_rec_off_locations()
S
64 1 12
ShareaholicUtilities::get_default_rec_on_locations()
S
64 1 12
ShareaholicUtilities::delete_api_key()
S
62 1 12
ShareaholicAdmin::meta_box()
S
64 1 11
ShareaholicAdmin::show_header()
S
64 1 10
ShareaholicCurl::post()
S
77 1 3
ShareaholicUtilities::get_host()
S
75 1 4
ShareaholicPublic::wp_head()
S
75 1 5
shareaholic_activate_primary_plugin()
S
72 1 5
ShareaholicQueryStringBuilder::array_to_param_iterator()
S
78 1 3
ShareaholicSixToSeven::grab_location_iterator()
S
80 1 3
ShareaholicUtilities::site_url()
S
78 1 3
ShareaholicUtilities::update_options()
S
72 1 5
ShareaholicUtilities::delete_mutex()
S
77 1 4
ShareaholicQueryStringBuilder::is_assoc()
S
78 1 3
selfserv_shareaholic()
S
76 1 4
Shareaholic::remove_apps()
S
75 1 4
ShareaholicUtilities::has_accepted_terms_of_service()
S
80 1 3
ShareaholicUtilities::set_lock()
S
78 1 3
ShareaholicAdmin::show_footer()
S
80 1 3
ShareaholicAdmin::show_terms_of_service()
S
80 1 3
ShareaholicUtilities::unlock()
S
79 1 3
get_shr_like_buttonset()
S
76 1 4
ShareaholicUtilities::set_version()
S
79 1 3
ShareaholicUtilities::underscore()
S
78 1 3
ShareaholicUtilities::is_locked()
S
78 1 3
ShareaholicAdmin::admin_header()
S
80 1 3
ShareaholicAdmin::go_premium()
S
69 1 8
ShareaholicAdmin::show_custom_sizes()
S
68 1 8
ShareaholicCurl::get()
S
77 1 3
ShareaholicQueryStringBuilder::array_to_param()
S
70 1 5
ShareaholicSixToSeven::services()
S
78 1 3
ShareaholicUtilities::localize()
S
78 1 3
ShareaholicNotifier::post_notify_iterator()
S
81 1 3
ShareaholicHttp::send()
S
78 1 3
ShareaholicAdmin::include_chat()
S
80 1 3
Shareaholic::deactivate()
S
72 1 6
ShareaholicUtilities::get_settings()
S
79 1 3
Shareaholic::return_apps()
S
75 1 4
Shareaholic::uninstall()
S
66 1 9
ShareaholicShareCount::get_counts()
S
100 1 0
ShareaholicUtilities::load_template()
S
72 1 5
ShareaholicPublic::draw_plugin_version_meta_tag()
S
79 1 3
Shareaholic::init()
S
80 1 3