Code Analysis: BuddyPress Group Email Subscription 4.2.4

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