User_Profile_Picture D

Total Complexity 131
Dependencies 5
Dependents 3
Total lines 1,395
Lines of code 910
Logical lines of code 393
Comment lines 384
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
avatar_override()
A
40 13 60
ajax_add_thumbnail()
A
43 10 46
pre_avatar_override()
A
48 9 35
insert_upload_form()
A
40 7 65
ajax_remove_thumbnail()
A
47 8 32
rest_api_get_users()
A
42 6 52
ajax_get_thumbnail()
A
43 6 49
rest_api_put_profile()
A
48 7 31
admin_page()
S
41 3 75
print_media_scripts()
S
41 1 77
rest_api_register()
S
43 1 64
__construct()
S
47 3 33
init()
S
48 3 32
rest_api_change_profile_image()
S
51 3 24
rest_api_get_profile_for_user()
S
53 3 21
rest_api_get_posts_for_user()
S
54 3 20
rest_api_get_profile()
S
56 3 17
get_user_id()
S
66 4 8
get_post_thumbnail_editor_link()
S
58 3 15
admin_page_redirect()
S
67 4 7
save_user_profile()
S
60 3 13
get_options()
S
63 3 11
get_post_id()
S
54 2 23
register_settings_menu_page()
S
56 2 21
get_plugin_url()
S
67 3 7
profile_print_media_scripts()
S
73 3 5
get_plugin_dir()
S
67 3 7
plugin_settings_link()
S
62 2 12
update_options()
S
63 2 11
add_block_category()
S
63 1 12
get_defaults()
S
67 1 8
rest_get_users_permissions_callback()
S
80 1 3
upp_admin_page()
S
83 1 3
print_media_styles()
S
91 1 2
register_settings_submenu_page()
S
76 1 3
rest_api_validate()
S
80 1 3
rest_api_sanitize()
S
80 1 3