Code Analysis: Author Avatars List/Block 2.1.4

Function Rating Maintainability Complexity Lines of code
UserList::format_user()
D
8
91 333
ShowAvatarShortcode::shortcode_handler()
D
16
70 240
AuthorAvatarsShortcode::shortcode_handler()
D
21
57 173
AAFormHelper::choice()
D
32 38 92
AuthorAvatarsWidget::widget()
D
32 32 91
UserList::get_users()
C
32 28 96
UserList::_filter()
C
38 26 66
author_avatar\show_avatar\Render::callback()
C
37 25 68
UserList::truncate_html()
B
37 20 72
UserList::_sort()
B
41 19 59
AuthorAvatarsWidget::form()
A
37 13 73
AAFormHelper::input()
A
44 11 43
AuthorAvatarsEditorButton::init()
A
54 10 19
UserList::_group()
A
51 8 28
UserList::get_blog_users()
A
48 7 31
AA_donateButton()
S
50 6 43
BuddyPressSupport::list_profiles_fields()
S
52 7 24
AuthorAvatarsForm::renderFieldRoles()
S
50 6 26
UserList::page_users()
S
51 6 25
UserList::get_user_blogs()
S
56 6 17
AuthorAvatars::do_update_step()
S
57 6 15
AuthorAvatarsSettings::get()
S
61 6 12
AuthorAvatarsForm::_getAllBlogs()
S
50 5 26
AuthorAvatarsForm::get_user_links()
S
53 5 23
AuthorAvatars::update__01_02()
S
54 5 20
UserList::get_user_postcount()
S
56 5 17
author_avatar\show_avatar\Render::init()
S
42 1 76
AuthorAvatars::update__062_07()
S
58 5 14
UserList::_users_whitelist()
S
61 5 14
AA_is_bbpress()
S
62 5 12
AuthorAvatarsForm::renderFieldGroupBy()
S
54 4 20
AuthorAvatars::install_check()
S
57 4 20
AuthorAvatarsEditorButton::render_tinymce_popup_body()
S
43 2 49
AuthorAvatars::init()
S
57 4 17
BuddyPressSupport::get_profile_outputs()
S
56 4 17
UserList::aa_get_last_post()
S
49 3 32
UserList::get_comment_count()
S
58 4 15
AuthorAvatarsWidget::update()
S
58 4 15
AuthorAvatarsSettings::save()
S
59 4 14
AuthorAvatarsSettings::save_sitewide()
S
59 4 14
AA_array_in_array()
S
63 4 11
AuthorAvatarsWidget::_setDefaults()
S
52 3 25
AuthorAvatarsForm::get_sort_by()
S
53 3 23
AuthorAvatarsSitewideAdminPanel::render_config_page()
S
53 3 22
author_avatar\blocks_for_gutenberg\api::get_data()
S
55 3 20
AuthorAvatarsSitewideAdminPanel::add_submenu()
S
57 3 18
AuthorAvatarsSettings::get_sitewide()
S
69 4 6
AAFormHelper::buildHtmlAttributes()
S
63 4 10
AuthorAvatarsForm::renderTabList()
S
61 3 12
AuthorAvatarsForm::renderTabStart()
S
61 3 12
AAFormHelper::get_display_list()
S
62 3 12
AuthorAvatarsForm::_getAllRoles()
S
61 3 12
AuthorAvatars::do_updates()
S
62 3 12
UserList::_group_name()
S
63 3 11
UserList::group_name()
S
61 3 11
AA_is_super_admin()
S
64 3 11
author_avatar\blocks_for_gutenberg\api::get_users()
S
56 2 20
AuthorAvatarsForm::renderFieldAvatarSize()
S
56 2 17
UserList::setup_page_users_ajax()
S
48 1 32
AuthorAvatars::admin_enqueue_resources()
S
70 3 6
UserList::_user_cmp_BBPRESS_post_count()
S
66 3 8
UserList::_sort_direction()
S
69 3 7
UserList::_users_cmp_id()
S
70 3 6
UserList::_user_cmp_postcount()
S
66 3 8
AuthorAvatarsForm::display_options()
S
58 2 15
AA_is_wpmu()
S
65 3 9
AuthorAvatarsForm::renderColumns()
S
64 3 10
AuthorAvatars::system_check()
S
66 3 9
AuthorAvatarsSettings::get_default()
S
78 3 3
AuthorAvatarsSettings::get_default_sitewide()
S
78 3 3
AuthorAvatarsForm::_getFieldName()
S
63 3 10
AA_in_arrayi()
S
67 3 8
AuthorAvatars::get_installed_version()
S
71 3 6
AuthorAvatarsSettings::blog_selection_allowed()
S
65 3 10
AuthorAvatarsSitewideAdminPanel::config_page()
S
66 3 8
UserList::get_output()
S
63 3 10
AuthorAvatarsForm::renderFieldBlogs()
S
58 2 14
AuthorAvatars::register_resources()
S
58 2 14
author_avatar\blocks_for_gutenberg\api::get_user_roles()
S
62 2 12
UserList::format_groups()
S
62 2 11
AuthorAvatarsForm::renderFieldAlignment()
S
56 1 17
UserList::get_user_last_post_activity()
S
60 1 17
AuthorAvatarsSitewideAdminPanel::_render_blogfilter_active_setting()
S
57 1 17
author_avatar_editor_assets()
S
58 1 17
UserList::get_commentators()
S
60 1 16
author_avatar\blocks_for_gutenberg\api::get_blogs()
S
64 2 10
author_avatar\blocks_for_gutenberg\api::get_display_options()
S
64 2 10
aa_clean_commas()
S
72 2 6
AuthorAvatarsSettings::blog_filters_is_active()
S
74 2 4
AA_atrim()
S
72 2 6
AA_is_bp()
S
77 2 4
AuthorAvatars::wp_enqueue_resources()
S
75 2 5
AuthorAvatarsForm::setFieldIdCallback()
S
67 2 8
AA_shortcode_paging()
S
63 2 10
AuthorAvatarsForm::renderDisplayOptions()
S
58 1 15
author_avatar\blocks_for_gutenberg\api::get_sort_by()
S
64 2 10
AA_is_version()
S
69 2 7
author_avatar\blocks_for_gutenberg\api::get_user_links()
S
64 2 10
AuthorAvatars::update_check()
S
72 2 6
UserList::format_users()
S
68 2 7
AuthorAvatarsSettings::_set_defaults()
S
78 2 3
AuthorAvatarsSettings::get_instance()
S
68 2 8
AuthorAvatarsForm::setFieldNameCallback()
S
67 2 8
UserList::get_user_last_site_activity()
S
61 1 15
AuthorAvatars::set_installed_version()
S
65 2 9
AuthorAvatarsSitewideAdminPanel::__construct()
S
72 2 6
AuthorAvatarsSitewideAdminPanel::init()
S
68 2 7
UserList::use_list_template()
S
68 2 8
AuthorAvatarsForm::_getFieldId()
S
71 2 6
AuthorAvatarsForm::_get_all_users()
S
66 2 8
AuthorAvatarsForm::renderFieldShortcodeType()
S
59 1 14
author_avatar\blocks_for_gutenberg\api::user_roles()
S
62 1 13
AuthorAvatarsForm::renderFieldDisplayOptions()
S
61 1 12
AuthorAvatarsForm::renderFieldSortDirection()
S
61 1 12
AuthorAvatarsForm::render_field_white_list_users()
S
61 1 11
AuthorAvatarsForm::render_field_hidden_users()
S
61 1 11
UserList::output()
S
82 1 3
AuthorAvatars::customizer_enqueue_resources()
S
82 1 3
AuthorAvatars::init_settings()
S
72 1 5
author_avatar\show_avatar\Render::__construct()
S
80 1 3
AuthorAvatarsForm::renderFieldLimit()
S
64 1 9
AuthorAvatarsSettings::is_default_sitewide()
S
80 1 3
AuthorAvatarsSitewideAdminPanel::save_settings()
S
73 1 5
AuthorAvatars::__construct()
S
79 1 3
AuthorAvatarsWidget::get_field_name()
S
72 1 5
UserList::_user_cmp_regdate()
S
79 1 3
author_avatar\blocks_for_gutenberg\api::run()
S
79 1 3
AuthorAvatarsForm::renderTabEnd()
S
83 1 3
author_avatar\blocks_for_gutenberg\api::__construct()
S
69 1 7
AuthorAvatarsForm::renderFieldEmail()
S
66 1 8
AAFormHelper::cleanHtmlId()
S
77 1 3
AuthorAvatarsShortcode::__construct()
S
83 1 3
AuthorAvatarsForm::renderFieldMinPostCount()
S
64 1 9
BuddyPressSupport::filter_profiles_fields()
S
79 1 3
UserList::ajax_output()
S
81 1 3
UserList::get_blogs_sql()
S
75 1 4
author_avatar_block_assets()
S
70 1 7
UserList::_users_cmp_login()
S
78 1 3
AuthorAvatarsEditorButton::register()
S
75 1 4
AuthorAvatars::init_controlpanels()
S
75 1 4
UserList::_users_cmp_first_name()
S
72 1 5
AuthorAvatarsEditorButton::render_tinymce_popup()
S
67 1 9
AuthorAvatarsForm::renderFieldUserLink()
S
64 1 9
buddy_press_support_init()
S
80 1 3
AA_add_action_links()
S
66 1 9
AuthorAvatarsEditorButton::add_tinymce_button()
S
76 1 4
UserList::get_user_lastname()
S
79 1 3
AuthorAvatarsEditorButton::add_tinymce_plugin()
S
75 1 4
AuthorAvatarsEditorButton::render_tinymce_popup_head()
S
65 1 8
AuthorAvatarsForm::renderFieldUsers()
S
64 1 9
AuthorAvatarsForm::renderFieldMaxBioLength()
S
63 1 10
AuthorAvatarsSettings::is_default()
S
80 1 3
UserList::_user_cmp_post_activity()
S
72 1 5
AuthorAvatarsEditorButton::__construct()
S
83 1 3
AuthorAvatars::init_widgets()
S
72 1 5
UserList::_users_cmp_last_name()
S
72 1 5
AuthorAvatars::author_avatars_widget_init()
S
81 1 3
UserList::get_user_firstname()
S
79 1 3
AA_Settings()
S
82 1 3
AuthorAvatars::install()
S
83 1 3
AuthorAvatarsForm::__construct()
S
74 1 5
AuthorAvatarsForm::_roleStripLevel()
S
75 1 4
UserList::get_user_last_buddypress_activity()
S
78 1 3
UserList::_users_cmp_name()
S
78 1 3
AuthorAvatarsShortcode::register()
S
74 1 4
AuthorAvatarsWidget::__construct()
S
66 1 9
is_valid_url()
S
80 1 3
AuthorAvatars::init_shortcodes()
S
70 1 6
AuthorAvatarsForm::renderFieldOrder()
S
64 1 9
AuthorAvatarsSettings::__construct()
S
83 1 3
UserList::_user_cmp_site_activity()
S
72 1 5
UserList::__construct()
S
78 1 3
UserList::_users_cmp_nickname()
S
72 1 5
ShowAvatarShortcode::__construct()
S
83 1 3
UserList::get_user_nickname()
S
79 1 3
AuthorAvatarsForm::renderPageLimit()
S
64 1 9
UserList::_user_cmp_budypress_activity()
S
72 1 5
ShowAvatarShortcode::register()
S
79 1 3
AuthorAvatarsShortcode::enqueue_resources()
S
82 1 3
AuthorAvatars::init_tinymce_editor()
S
75 1 4
aa_register_widgets()
S
82 1 3
AuthorAvatars::load_translation_domain()
S
74 1 4