Simple_Local_Avatars D

Total Complexity 221
Dependencies 5
Dependents 1
Total lines 1,586
Lines of code 955
Logical lines of code 445
Comment lines 427
Methods 47
Properties 7

Methods 47

Method Rating Maintainability Complexity Lines of code
get_simple_local_avatar_url()
C
37 24 65
edit_user_profile()
A
37 12 82
edit_user_profile_update()
A
42 13 50
migrate_from_wp_user_avatar()
A
44 10 45
__construct()
A
49 10 30
admin_init()
A
40 6 72
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
add_hooks()
S
48 4 31
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
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
unique_filename_callback()
S
62 2 10
set_defaults()
S
67 2 8
get_network_mode()
S
71 2 6
admin_body_class()
S
72 2 6
get_avatar_rest()
S
68 2 7
register_rest_fields()
S
61 1 14
migrate_from_wp_user_avatar_settings_field()
S
70 1 7
set_avatar_rest()
S
79 1 3
user_profile_update_errors()
S
80 1 3
update_avatar_ratings()
S
67 1 8
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