Code Analysis: Author Avatars List/Block 2.1.24

Function Rating Maintainability Complexity Lines of code
UserList::format_user()
D
8
92 337
ShowAvatarShortcode::shortcode_handler()
D
16
70 240
AuthorAvatarsShortcode::shortcode_handler()
D
18
67 207
AAFormHelper::choice()
D
32 38 92
FormHelper::choice()
D
32 38 92
AuthorAvatarsWidget::widget()
D
32 32 92
author_avatar\show_avatar\Render::callback()
C
34 31 76
UserList::get_users()
C
32 28 96
callback()
C
35 28 73
UserList::_filter()
C
38 26 66
UserList::truncate_html()
B
38 20 70
UserList::_sort()
B
41 19 59
AuthorAvatarsWidget::form()
A
37 13 73
MultiWidget::control_callback()
A
41 14 57
FormHelper::input()
A
44 11 43
AAFormHelper::input()
A
44 11 43
AuthorAvatarsEditorButton::init()
A
54 10 19
UserList::_group()
A
51 8 28
UserList::get_blog_users()
S
48 7 30
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 14
AuthorAvatarsSettings::get()
S
61 6 12
AuthorAvatarsForm::_getAllBlogs()
S
50 5 26
author_avatar\show_avatar\Render::init()
S
40 1 85
register_author_avatars_block()
S
40 1 85
AuthorAvatarsForm::get_user_links()
S
53 5 23
AuthorAvatars::update__01_02()
S
54 5 20
MultiWidget::register()
S
57 5 18
UserList::get_user_postcount()
S
56 5 17
AuthorAvatars::update__062_07()
S
58 5 14
UserList::_users_whitelist()
S
61 5 14
AA_is_bbpress()
S
62 5 12
UserList::_user_cmp_BBPRESS_post_count()
S
61 5 11
AuthorAvatarsForm::renderFieldGroupBy()
S
54 4 20
AuthorAvatarsEditorButton::render_tinymce_popup_body()
S
43 2 49
UserList::aa_get_last_post()
S
49 3 32
BuddyPressSupport::get_profile_outputs()
S
56 4 17
AuthorAvatars::init()
S
57 4 17
UserList::get_comment_count()
S
58 4 15
AuthorAvatars::install_check()
S
60 4 15
AuthorAvatarsWidget::update()
S
58 4 15
AuthorAvatarsSettings::save_sitewide()
S
59 4 14
AuthorAvatarsSettings::save()
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
FormHelper::buildHtmlAttributes()
S
63 4 10
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
UserList::get_output()
S
62 3 11
AA_is_super_admin()
S
64 3 11
UserList::group_name()
S
61 3 11
UserList::_group_name()
S
63 3 11
AuthorAvatars::do_updates()
S
63 3 11
UserList::get_user_last_post_activity()
S
57 2 21
author_avatar\blocks_for_gutenberg\api::get_users()
S
56 2 20
UserList::get_user_last_site_activity()
S
58 2 19
AuthorAvatarsForm::renderFieldAvatarSize()
S
56 2 17
UserList::setup_page_users_ajax()
S
48 1 32
AA_is_wpmu()
S
65 3 9
AuthorAvatars::system_check()
S
66 3 9
AuthorAvatarsForm::renderColumns()
S
64 3 10
AuthorAvatarsForm::display_options()
S
58 2 15
UserList::_sort_direction()
S
71 3 6
UserList::_users_cmp_id()
S
70 3 6
AuthorAvatars::get_installed_version()
S
71 3 6
AuthorAvatarsSettings::get_default_sitewide()
S
78 3 3
UserList::_user_cmp_postcount()
S
66 3 8
AuthorAvatarsSettings::get_default()
S
78 3 3
AuthorAvatarsForm::_getFieldName()
S
63 3 10
AuthorAvatarsSettings::blog_selection_allowed()
S
65 3 10
UserList::strcasecmp()
S
66 3 9
AuthorAvatarsSitewideAdminPanel::config_page()
S
66 3 8
MultiWidget::widget_callback()
S
64 3 9
AuthorAvatars::admin_enqueue_resources()
S
70 3 6
AA_in_arrayi()
S
67 3 8
AuthorAvatars::register_resources()
S
58 2 14
AuthorAvatarsForm::renderFieldBlogs()
S
58 2 14
author_avatar\blocks_for_gutenberg\api::get_user_roles()
S
62 2 12
UserList::format_groups()
S
62 2 11
author_avatar_editor_assets()
S
57 1 17
AuthorAvatarsSitewideAdminPanel::_render_blogfilter_active_setting()
S
57 1 17
AuthorAvatarsForm::renderFieldAlignment()
S
56 1 17
MultiWidget::_register_one()
S
60 1 16
author_avatar_block_assets()
S
67 2 9
UserList::use_list_template()
S
68 2 8
AuthorAvatarsForm::_getFieldId()
S
71 2 6
AuthorAvatarsSitewideAdminPanel::__construct()
S
72 2 6
AA_is_version()
S
69 2 7
AuthorAvatarsForm::renderDisplayOptions()
S
58 1 15
AA_shortcode_paging()
S
64 2 9
AA_is_bp()
S
77 2 4
AuthorAvatarsForm::setFieldIdCallback()
S
67 2 8
aa_clean_commas()
S
72 2 6
author_avatar\blocks_for_gutenberg\api::get_display_options()
S
64 2 10
AuthorAvatars::set_installed_version()
S
65 2 9
author_avatar\blocks_for_gutenberg\api::get_blogs()
S
64 2 10
UserList::format_users()
S
68 2 7
AuthorAvatarsForm::_get_all_users()
S
66 2 8
AuthorAvatarsSettings::_set_defaults()
S
78 2 3
AuthorAvatarsSettings::get_instance()
S
68 2 8
AuthorAvatarsSettings::blog_filters_is_active()
S
73 2 4
author_avatar\blocks_for_gutenberg\api::get_sort_by()
S
64 2 10
AA_atrim()
S
72 2 6
AuthorAvatarsSitewideAdminPanel::init()
S
68 2 7
UserList::get_commentators()
S
61 1 15
AuthorAvatars::update_check()
S
72 2 6
author_avatar\blocks_for_gutenberg\api::get_user_links()
S
64 2 10
AuthorAvatarsForm::setFieldNameCallback()
S
67 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::_users_cmp_login()
S
78 1 3
MultiWidget::get_field_id()
S
79 1 3
AuthorAvatars::customizer_enqueue_resources()
S
82 1 3
ShowAvatarShortcode::__construct()
S
83 1 3
AuthorAvatarsForm::renderTabEnd()
S
83 1 3
AuthorAvatars::init_widgets()
S
75 1 4
AuthorAvatarsEditorButton::register()
S
75 1 4
UserList::__construct()
S
78 1 3
AuthorAvatarsSettings::is_default()
S
80 1 3
UserList::_user_cmp_post_activity()
S
72 1 5
ShowAvatarShortcode::register()
S
79 1 3
BuddyPressSupport::filter_profiles_fields()
S
79 1 3
UserList::_user_cmp_regdate()
S
79 1 3
UserList::get_user_nickname()
S
79 1 3
author_avatar_editor_assets()
S
70 1 6
MultiWidget::control_update()
S
82 1 3
AuthorAvatarsForm::renderFieldMaxBioLength()
S
63 1 10
UserList::ajax_output()
S
81 1 3
UserList::output()
S
82 1 3
MultiWidget::control_form()
S
82 1 3
AuthorAvatarsSitewideAdminPanel::save_settings()
S
73 1 5
AuthorAvatarsWidget::get_field_name()
S
72 1 5
AuthorAvatarsSettings::__construct()
S
83 1 3
AA_add_action_links()
S
66 1 9
AuthorAvatars::install()
S
83 1 3
UserList::_user_cmp_site_activity()
S
72 1 5
AuthorAvatars::init_settings()
S
72 1 5
author_avatar\blocks_for_gutenberg\api::__construct()
S
69 1 7
AuthorAvatars::init_tinymce_editor()
S
76 1 4
AuthorAvatars::init_controlpanels()
S
76 1 4
AuthorAvatarsShortcode::register()
S
79 1 3
AuthorAvatarsForm::_roleStripLevel()
S
75 1 4
AuthorAvatars::__construct()
S
79 1 3
AuthorAvatars::init_shortcodes()
S
71 1 6
AAFormHelper::cleanHtmlId()
S
77 1 3
UserList::_users_cmp_first_name()
S
72 1 5
AuthorAvatarsForm::__construct()
S
74 1 5
MultiWidget::_get_widget_callback()
S
80 1 3
AuthorAvatarsForm::renderFieldMinPostCount()
S
64 1 9
UserList::get_blogs_sql()
S
75 1 4
MultiWidget::get_field_name()
S
78 1 3
AuthorAvatarsForm::renderFieldUserLink()
S
64 1 9
AuthorAvatarsForm::renderFieldOrder()
S
64 1 9
AuthorAvatarsForm::renderFieldLimit()
S
64 1 9
AuthorAvatarsShortcode::__construct()
S
82 1 3
AuthorAvatarsEditorButton::render_tinymce_popup()
S
67 1 9
MultiWidget::_get_control_callback()
S
80 1 3
UserList::_users_cmp_name()
S
78 1 3
UserList::get_user_firstname()
S
79 1 3
UserList::get_user_lastname()
S
79 1 3
FormHelper::cleanHtmlId()
S
77 1 3
UserList::_users_cmp_last_name()
S
72 1 5
buddy_press_support_init()
S
80 1 3
author_avatar\blocks_for_gutenberg\api::run()
S
79 1 3
AuthorAvatarsEditorButton::render_tinymce_popup_head()
S
65 1 8
AuthorAvatarsForm::renderFieldEmail()
S
66 1 8
AuthorAvatarsEditorButton::add_tinymce_plugin()
S
75 1 4
AA_Settings()
S
82 1 3
is_valid_url()
S
80 1 3
aa_register_widgets()
S
82 1 3
AuthorAvatarsForm::renderFieldUsers()
S
64 1 9
AuthorAvatarsWidget::__construct()
S
66 1 9
AuthorAvatarsForm::renderPageLimit()
S
64 1 9
MultiWidget::_set()
S
76 1 4
AuthorAvatarsEditorButton::__construct()
S
83 1 3
AuthorAvatars::load_translation_domain()
S
74 1 4
UserList::_users_cmp_nickname()
S
72 1 5
AuthorAvatarsEditorButton::add_tinymce_button()
S
76 1 4
AuthorAvatarsSettings::is_default_sitewide()
S
80 1 3
MultiWidget::widget()
S
82 1 3
UserList::_user_cmp_budypress_activity()
S
72 1 5
MultiWidget::__construct()
S
64 1 10
author_avatar\show_avatar\Render::__construct()
S
80 1 3
UserList::get_user_last_buddypress_activity()
S
78 1 3
AuthorAvatars::author_avatars_widget_init()
S
81 1 3