Code Analysis: Simple Local Avatars 2.7.11

Function Rating Maintainability Complexity Lines of code
Simple_Local_Avatars::get_simple_local_avatar_url()
C
36 27 72
Simple_Local_Avatars::edit_user_profile_update()
B
40 16 56
Simple_Local_Avatars::edit_user_profile()
A
37 12 85
Simple_Local_Avatars::migrate_from_wp_user_avatar()
A
44 10 45
Simple_Local_Avatars::add_hooks()
A
44 9 42
Simple_Local_Avatars::__construct()
A
52 10 24
Simple_Local_Avatars::admin_init()
A
40 6 73
Simple_Local_Avatars::get_default_avatar_url()
A
51 9 27
Simple_Local_Avatars::get_user_id()
A
56 9 16
Simple_Local_Avatars::action_remove_simple_local_avatar()
A
57 9 15
Simple_Local_Avatars::get_avatar_data()
A
52 8 25
Simple_Local_Avatars::ajax_assign_simple_local_avatar_media()
S
60 8 12
Simple_Local_Avatars::enqueue_scripts()
S
46 6 35
Simple_Local_Avatars::avatar_settings_field()
S
48 6 35
Simple_Local_Avatars::get_simple_local_avatar_alt()
S
54 7 20
Simple_Local_Avatars::sla_clear_user_cache()
S
45 5 42
Simple_Local_Avatars::clear_user_avatar_cache()
S
53 6 21
Simple_Local_Avatars::avatar_delete()
S
54 6 21
Simple_Local_Avatars::save_network_settings()
S
54 5 22
Simple_Local_Avatars::show_network_settings()
S
44 1 67
Simple_Local_Avatars::add_avatar_default_field()
S
56 4 17
Simple_Local_Avatars::save_default_avatar_file_id()
S
62 5 10
Simple_Local_Avatars::sanitize_options()
S
66 5 8
Simple_Local_Avatars::is_avatar_shared()
S
62 4 12
Simple_Local_Avatars::wp_cli_migrate_from_wp_user_avatar()
S
58 3 16
Simple_Local_Avatars::is_enforced()
S
67 4 8
Simple_Local_Avatars::ajax_migrate_from_wp_user_avatar()
S
61 3 12
Simple_Local_Avatars::set_defaults()
S
63 3 11
Simple_Local_Avatars::pre_option_simple_local_avatars()
S
70 3 6
Simple_Local_Avatars::is_network()
S
67 3 7
simple_local_avatars_uninstall()
S
60 2 14
Simple_Local_Avatars::assign_new_user_avatar()
S
61 2 12
Simple_Local_Avatars::plugin_filter_action_links()
S
63 2 11
Simple_Local_Avatars::admin_print_styles()
S
68 1 22
Simple_Local_Avatars::get_avatar_rest()
S
68 2 7
Simple_Local_Avatars::get_network_mode()
S
71 2 6
Simple_Local_Avatars::admin_body_class()
S
72 2 6
Simple_Local_Avatars::unique_filename_callback()
S
62 2 10
Simple_Local_Avatars::register_rest_fields()
S
61 1 14
Simple_Local_Avatars::load_discussion_page()
S
75 1 4
Simple_Local_Avatars::user_edit_form_tag()
S
82 1 3
Simple_Local_Avatars::set_avatar_rest()
S
79 1 3
get_simple_local_avatar()
S
77 1 3
Simple_Local_Avatars::load_network_settings()
S
71 1 5
Simple_Local_Avatars::define_avatar_ratings()
S
67 1 8
Simple_Local_Avatars::migrate_from_wp_user_avatar_settings_field()
S
70 1 7
Simple_Local_Avatars::user_profile_update_errors()
S
80 1 3
site_meets_php_requirements()
S
79 1 3
minimum_php_requirement()
S
83 1 3
Simple_Local_Avatars::get_avatar()
S
77 1 3
Simple_Local_Avatars::upload_size_limit()
S
79 1 3