User_Profile_Picture D

Total Complexity 127
Dependencies 5
Dependents 3
Total lines 1,358
Lines of code 878
Logical lines of code 394
Comment lines 383
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 6 65
ajax_get_thumbnail()
A
43 6 49
rest_api_put_profile()
A
48 7 31
rest_api_get_users()
S
42 5 52
ajax_remove_thumbnail()
S
49 6 29
print_media_scripts()
S
41 1 77
admin_page()
S
46 3 45
__construct()
S
47 3 34
rest_api_register()
S
43 1 64
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