Simple_Local_Avatars D

Total Complexity 229
Dependencies 6
Dependents 1
Total lines 1,591
Lines of code 965
Logical lines of code 457
Comment lines 422
Methods 46
Properties 7

Methods 46

Method Rating Maintainability Complexity Lines of code
get_simple_local_avatar_url()
C
37 24 65
edit_user_profile_update()
B
40 16 56
edit_user_profile()
A
37 12 81
migrate_from_wp_user_avatar()
A
44 10 45
add_hooks()
A
44 9 41
__construct()
A
52 10 24
admin_init()
A
39 6 78
get_default_avatar_url()
A
51 9 27
action_remove_simple_local_avatar()
A
56 9 16
get_user_id()
S
58 8 14
ajax_assign_simple_local_avatar_media()
S
60 8 12
avatar_settings_field()
S
48 6 35
enqueue_scripts()
S
46 6 35
get_simple_local_avatar_alt()
S
54 7 20
get_avatar_data()
S
56 7 19
sla_clear_user_cache()
S
45 5 42
clear_user_avatar_cache()
S
53 6 21
avatar_delete()
S
54 6 20
save_network_settings()
S
54 5 22
add_avatar_default_field()
S
56 5 18
is_avatar_shared()
S
61 5 13
show_network_settings()
S
44 1 67
sanitize_options()
S
66 5 8
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
pre_option_simple_local_avatars()
S
70 3 6
is_network()
S
67 3 7
save_default_avatar_file_id()
S
67 3 7
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
68 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
set_avatar_rest()
S
79 1 3
migrate_from_wp_user_avatar_settings_field()
S
70 1 7
get_avatar()
S
77 1 3
load_discussion_page()
S
75 1 4
load_network_settings()
S
71 1 5
upload_size_limit()
S
79 1 3
user_edit_form_tag()
S
82 1 3