WP_User_Avatar_Functions D

Total Complexity 168
Dependencies 3
Dependents 1
Total lines 1,058
Lines of code 561
Logical lines of code 300
Comment lines 316
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
get_wp_user_avatar()
C
30 28 109
wpua_has_gravatar()
C
34 29 84
wpua_get_avatar_filter()
B
37 16 77
wpua_get_default_avatar_url()
B
45 17 40
wpua_default_image()
A
43 15 47
wpua_get_avatar_url()
A
46 13 37
wpua_bp_core_fetch_avatar_filter()
A
47 12 34
wpua_get_avatar_original()
A
46 8 39
wpua_set_avatar_srcset()
A
48 8 32
has_wp_user_avatar()
S
60 9 10
wpua_maybe_disable_um_avatars()
S
60 4 14
get_wp_user_avatar_src()
S
64 3 9
wpua_bp_core_fetch_avatar_url_filter()
S
66 2 8
__construct()
S
65 1 8
wpua_get_attachment_image()
S
74 1 4
wpua_attachment_is_image()
S
72 1 5
wpua_get_attachment_image_src()
S
74 1 4