Code Analysis: BuddyPress Group Email Subscription 4.0.1

Function Rating Maintainability Complexity Lines of code
iterate_over_node()
D
22
71 148
ass_generate_notification()
D
23
41 167
ass_admin_options()
D
24
37 183
ass_group_notification_forum_posts()
D
23
37 174
ass_group_notification_activity()
D
33 31 91
bpges_generate_notification()
C
27
22 155
bpges_generate_digest()
B
31 17 106
ass_set_email_type()
B
37 16 73
ass_group_subscribe_button()
B
38 15 70
ass_user_unsubscribe_form()
B
35 13 94
ass_admin_notice()
A
36 12 77
ass_group_subscribe_settings()
A
42 13 51
ass_admin_menu()
A
45 13 40
ass_default_block_group_activity_types()
A
48 13 34
ass_manage_members_email_update()
A
54 13 16
ass_topic_follow_or_mute_link()
A
49 12 28
ass_manage_all_members_email_update()
A
51 12 23
BPGES_Queued_Item_Query::get_results()
A
42 10 51
ass_bp_email_footer_html_unsubscribe_links()
A
44 9 49
ass_group_subscription_notification_settings()
A
41 7 78
WP_Background_Process::handle()
A
50 10 29
ass_manage_members_email_status()
A
48 10 28
bpges_process_digest_for_user()
A
47 9 37
BPGES_Subscription_Query::get_results()
A
44 8 44
ass_digest_format_item()
A
43 8 42
bpges_39_migration_admin_notice()
A
52 9 24
ass_update_dashboard_settings()
A
55 9 19
ass_send_welcome_email()
A
42 7 47
ass_install_emails()
A
44 7 45
ass_topic_subscribe_or_mute()
A
58 9 13
BPGES_Async_Request_Send_Queue::handle()
A
52 8 26
bpges_39_migrate_user_queued_items()
A
48 7 34
ass_weekly_digest_week()
A
57 8 17
ges_late_includes()
A
57 8 17
ass_loader()
S
51 7 24
BPGES_Command::migrate_legacy_subscriptions()
S
46 6 37
BPGES_Command::migrate_legacy_digest_queue()
S
46 6 37
BPGES_Async_Request_Send_Queue::handle_immediate_queue()
S
48 6 34
ass_get_default_subscription()
S
56 7 18
ass_save_welcome_email()
S
58 7 13
ass_subscribe_translate()
S
59 7 13
ass_group_subscription()
S
53 6 23
ass_send_email()
S
47 5 34
ass_get_forum_type()
S
57 6 18
BPGES_Async_Request_Send_Queue::handle_digest_queue()
S
49 5 30
ass_email_convert_html_to_plaintext()
S
60 6 12
ass_digest_format_item_group()
S
49 5 26
ass_set_weekly_digest_time()
S
54 5 20
ass_get_group_unsubscribe_link_for_user()
S
55 5 20
BPGES_Database_Object::save()
S
50 4 33
GES_Updater::init()
S
58 5 16
ass_set_default_subscription()
S
59 5 16
ass_add_gd_bbpress_attachments_to_email_content()
S
56 5 16
ass_update_group_subscribe_settings()
S
57 5 15
prev_child_name()
S
60 5 14
next_child_name()
S
60 5 14
ass_default_weekly_summary_activity_types()
S
62 5 13
ass_group_default_status()
S
61 5 12
ass_user_unsubscribe_action()
S
61 5 11
BPGES_Async_Request_Subscription_Migrate::handle()
S
53 4 22
bpges_39_migrate_group_subscriptions()
S
54 4 22
ass_send_multipart_email()
S
47 3 37
ass_get_mass_userdata()
S
55 4 20
ass_set_daily_digest_time()
S
55 4 18
BPGES_Async_Request_Send_Queue::time_exceeded()
S
57 4 17
BPGES_Async_Request::maybe_filter_http_request_args()
S
58 4 16
Group_Activity_Subscription::__construct()
S
56 4 16
bpges_generate_digest_preview_for_type()
S
56 4 16
BPGES_Database_Object::__set()
S
59 4 15
ass_show_subscription_status_in_member_list()
S
62 5 10
ass_digest_record_activity()
S
64 5 9
ass_save_default_subscription()
S
63 5 10
bp_ges_activity_is_valid_for_digest()
S
57 4 15
ass_get_topic_subscription_status()
S
63 5 10
ass_bp_email_admin_notice()
S
52 3 29
ass_bbp_subscriptions()
S
60 4 14
bpges_39_launch_legacy_subscription_migration()
S
60 4 14
bpges_39_launch_legacy_digest_queue_migration()
S
60 4 14
bpges_delete_queued_items_for_user_group()
S
60 4 14
BPGES_Database_Object::__get()
S
60 4 13
ass_unsubscribe_user()
S
63 4 11
ass_group_activity_edits()
S
62 4 11
ass_bbp_remove_topic_subscribers()
S
62 4 11
BPGES_Async_Request_Send_Queue::get_memory_limit()
S
62 4 11
WP_Background_Process::get_memory_limit()
S
62 4 11
bpges_digest_css()
S
52 3 23
BPGES_Async_Request_Digest_Queue_Migrate::handle()
S
56 3 17
WP_Background_Process::is_queue_empty()
S
57 3 16
ass_login_redirector()
S
64 4 10
ass_get_group_subscription_status()
S
63 4 10
bpges_get_digest_queue_for_user()
S
59 3 15
ass_default_subscription_settings()
S
68 4 7
bpges_log()
S
64 4 9
ass_bp_email_footer_text()
S
61 3 14
bpges_delete_queued_items_for_activity_ids()
S
62 3 12
WP_Background_Process::maybe_handle()
S
63 3 12
ass_add_notice_to_notifications_page()
S
53 2 26
BPGES_Database_Object::__construct()
S
63 3 11
WP_Background_Process::handle_cron_healthcheck()
S
65 3 11
WP_Background_Process::get_batch()
S
52 2 25
bpges_install_queued_items_table()
S
54 2 24
ass_default_subscription_settings_form()
S
56 2 22
ass_email_strip_trailing_breaklines()
S
57 2 20
bpges_install_subscription_table()
S
56 2 20
BPGES_Queued_Item::bulk_insert()
S
56 2 18
Group_Activity_Subscription::ass_add_javascript()
S
57 2 17
bpges_delete_queued_items_for_deleted_user()
S
60 2 16
ass_digest_strip_plaintext_separators()
S
59 2 16
ass_get_login_redirect_url()
S
58 2 16
bpges_get_admin_panel_url()
S
65 3 8
bpges_admin_menu_cap()
S
66 3 8
BPGES_Database_Object::populate()
S
63 3 10
bp_core_enable_root_profiles()
S
69 3 6
ass_clean_subject()
S
63 3 10
ass_registered_long_enough()
S
64 3 9
ass_self_post_notification()
S
65 3 8
ass_group_forum_record_digest()
S
65 3 9
ass_digest_fire_test()
S
64 3 9
ass_change_all_email_sub()
S
62 3 9
ass_join_group_message()
S
64 3 9
ass_admin_notice_form()
S
70 3 6
bpges_format_activity_action_bpges_notice()
S
59 2 14
convert_html_to_text()
S
59 2 14
BPGES_Queued_Item_Query::get_users_with_pending_digest()
S
59 2 13
WP_Async_Request::get_post_args()
S
62 2 12
Group_Activity_Subscription::add_settings_stylesheet()
S
62 2 12
ass_get_subscriptions_for_group()
S
63 2 11
WP_Background_Process::schedule_cron_healthcheck()
S
62 2 11
WP_Background_Process::memory_exceeded()
S
64 2 9
ass_digest_filter_salutation()
S
69 2 7
WP_Background_Process::time_exceeded()
S
66 2 8
bpges_register_template_stack()
S
68 2 8
GES_Updater::__construct()
S
65 2 9
bp_get_groups_current_create_step()
S
66 2 9
WP_Background_Process::is_process_running()
S
71 2 6
WP_Async_Request::get_query_url()
S
71 2 6
WP_Background_Process::update()
S
71 2 6
WP_Background_Process::cancel_process()
S
69 2 7
WP_Background_Process::schedule_event()
S
73 2 5
WP_Background_Process::save()
S
69 2 7
BPGES_Queued_Item_Query::get()
S
78 2 3
BPGES_Database_Object::fill()
S
73 2 5
GES_Updater::_init()
S
72 2 6
WP_Async_Request::get_query_args()
S
66 2 9
ass_digest_support_wp_better_emails()
S
72 2 6
ass_bbp_add_topic_subscribers_filter()
S
67 2 8
ass_user_settings_array()
S
65 2 9
ass_get_previous_posters()
S
64 2 9
WP_Background_Process::lock_process()
S
68 2 6
bpges_send_queue()
S
70 2 7
BPGES_Async_Request_Send_Queue::memory_exceeded()
S
64 2 9
ass_after_topic_title_head()
S
70 2 6
ass_group_unsubscribe_links()
S
64 2 9
ass_bbp_ready()
S
63 2 10
ass_email_set_from_during_token_addition()
S
69 2 7
ass_bbp_remove_topic_subscribers_filter()
S
69 2 7
ass_digest_get_title()
S
66 2 8
ass_bbp_disable_email()
S
67 2 8
BPGES_Subscription_Query::get()
S
78 2 3
BPGES_Command::install_database()
S
68 2 7
ass_cron_add_weekly()
S
69 2 6
bpges_use_new_options_panel()
S
74 2 4
bpges_unsubscribe_on_membership_ban()
S
69 2 7
WP_Background_Process::clear_scheduled_event()
S
71 2 6
ass_group_notification_activity_content_before_save()
S
68 2 7
BPGES_Queued_Item_Query::__construct()
S
62 1 12
bpges_39_migration_status()
S
61 1 12
ass_convert_html_to_plaintext()
S
62 1 11
ass_digest_schedule_print()
S
62 1 11
WP_Background_Process::delete()
S
77 1 4
BPGES_Async_Request::__construct()
S
75 1 4
ass_old_digest_item_html_entities()
S
73 1 4
BPGES_Queued_Item::get_table_name()
S
79 1 3
Group_Activity_Subscription::edit_screen_save()
S
98 1 1
BPGES_Subscription::get_cache_group()
S
82 1 3
ass_groups_admin_manage_member_row()
S
80 1 3
BPGES_Queued_Item::get_columns()
S
65 1 10
Html2TextException::__construct()
S
76 1 4
bpges_unsubscribe_on_membership_remove()
S
76 1 4
WP_Async_Request::handle()
S
100 1 0
bpges_force_immediate_admin_notice()
S
75 1 4
Group_Activity_Subscription::create_screen_save()
S
98 1 1
ass_digest_get_user_domain()
S
81 1 3
Group_Activity_Subscription::widget_display()
S
98 1 1
fix_newlines()
S
73 1 5
ass_digest_fire()
S
100 1 1
BPGES_Subscription::get_columns()
S
68 1 8
BPGES_Database_Object::delete()
S
64 1 10
GES_Updater::bump_revision_date()
S
79 1 3
ass_group_ajax_callback()
S
65 1 9
ass_daily_digest_fire()
S
82 1 3
BPGES_Database_Object::get_table_name()
S
95 1 1
BPGES_Async_Request_Send_Queue::__construct()
S
72 1 5
Group_Activity_Subscription::create_screen()
S
98 1 1
BPGES_Subscription_Query::__construct()
S
64 1 10
WP_Background_Process::task()
S
100 1 0
ass_digest_filter()
S
72 1 6
WP_Async_Request::dispatch()
S
72 1 5
WP_Background_Process::__construct()
S
67 1 7
activitysub_textdomain()
S
78 1 3
ass_html_entity_decode()
S
80 1 3
bpges_unsubscribe_on_membership_delete()
S
76 1 4
BPGES_Queued_Item::get_cache_group()
S
82 1 3
GES_Updater::get_current_revision_date()
S
80 1 3
BPGES_Async_Request::handle()
S
98 1 1
ass_unsubscribe_on_leave()
S
80 1 3
WP_Background_Process::dispatch()
S
77 1 4
ass_queue_activity_item()
S
65 1 9
ass_clean_subject_html()
S
75 1 4
activitysub_unset_digests()
S
78 1 4
ass_weekly_digest_fire()
S
82 1 3
Group_Activity_Subscription::display()
S
82 1 3
WP_Async_Request::data()
S
77 1 4
BPGES_Async_Request_Digest_Queue_Migrate::__construct()
S
75 1 4
Group_Activity_Subscription::edit_screen()
S
82 1 3
BPGES_Subscription::get_table_name()
S
79 1 3
bpges_is_legacy_installation()
S
72 1 5
activitysub_setup_defaults()
S
65 1 9
WP_Background_Process::push_to_queue()
S
76 1 4
WP_Async_Request::__construct()
S
71 1 5
WP_Async_Request::maybe_handle()
S
71 1 6
WP_Background_Process::generate_key()
S
71 1 5
WP_Background_Process::complete()
S
82 1 3
BPGES_Async_Request_Subscription_Migrate::__construct()
S
75 1 4
ass_ajax_callback()
S
64 1 10
BPGES_Queued_Item_Query::get_user_with_pending_digest()
S
74 1 4
WP_Background_Process::unlock_process()
S
76 1 4
ass_send_welcome_email_on_accept_invite_or_request()
S
80 1 3
bpges_trigger_digest()
S
69 1 7
BPGES_Database_Object::get_columns()
S
100 1 0
ass_convert_links()
S
73 1 5
GES_Updater::get_installed_revision_date()
S
79 1 3
BPGES_Database_Object::get_cache_group()
S
100 1 0
bpges_register_activity_actions()
S
69 1 8
BPGES_Queued_Item::bulk_delete()
S
69 1 6
ass_clean_content()
S
79 1 3