Simple_Local_Avatars D

Total Complexity 249
Dependencies 8
Dependents 1
Total lines 1,715
Lines of code 1,022
Logical lines of code 491
Comment lines 474
Methods 48
Properties 7

Methods 48

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