Code Analysis: Better Notifications for WP 1.9.4

Function Rating Maintainability Complexity Lines of code
BNFW_Notification::get_notification_name()
D
21
56 181
BNFW_Engine::handle_shortcodes()
D
30 44 101
BNFW_Notification::render_settings_meta_box()
D
15
11 493
BNFW_Notification::save_meta_data()
C
36 32 65
BNFW_Engine::get_emails()
C
35 29 79
EDD_SL_Plugin_Updater::api_request()
C
36 24 73
EDD_SL_Plugin_Updater::show_update_notification()
B
35 22 84
wp_new_user_notification()
B
34 17 91
BNFW_License_Setting::bnfw_license_settings()
B
44 18 41
EDD_SL_Plugin_Updater::show_update_notification()
B
36 15 85
EDD_SL_Plugin_Updater::show_changelog()
B
39 16 59
EDD_SL_Plugin_Updater::get_version_from_remote()
A
43 15 46
EDD_SL_Plugin_Updater::plugins_api_filter()
A
45 15 43
EDD_SL_Plugin_Updater::plugins_api_filter()
A
45 15 43
bnfw_render_users_dropdown()
A
39 13 66
BNFW_Engine::get_emails_from_users()
A
43 14 45
BNFW_Engine::post_shortcodes()
A
34 10 93
BNFW_Engine::send_notification()
A
45 12 39
BNFW_Notification::custom_column_row()
A
47 11 35
EDD_SL_Plugin_Updater::check_update()
A
52 11 23
BNFW_Notification::get_names_from_users()
A
49 9 31
BNFW::user_role_added()
A
50 9 27
BNFW_Notification::show_help_notice()
A
44 7 54
EDD_SL_Plugin_Updater::show_changelog()
A
52 9 22
EDD_SL_Plugin_Updater::check_update()
A
54 9 20
BNFW_License::deactivate_license()
A
48 8 32
BNFW_Notification::handle_actions()
A
50 8 28
BNFW_Import::map_notification()
A
54 8 25
BNFW_Import::map_notification()
A
54 8 25
BNFW_Engine::process_shortcodes_in_email()
A
54 8 21
BNFW_AJAX::bnfw_search_users()
A
43 6 50
bnfw_is_comment_notification()
A
56 8 18
BNFW_License::activate_license()
A
48 7 33
BNFW_Notification::read_settings()
S
45 6 42
BNFW_Engine::get_emails_from_role()
S
52 7 26
BNFW::on_email_changing()
S
41 5 55
BNFW::handle_inserted_post()
S
53 7 24
BNFW::user_role_added_from_member_plugin()
S
52 7 24
BNFW::user_role_removed_from_member_plugin()
S
52 7 24
BNFW::comments_reply()
S
54 7 21
BNFW_Import::import()
S
55 7 19
BNFW_Import::import()
S
55 7 19
bnfw_search_users()
S
44 5 48
BNFW_Engine::send_registration_email()
S
48 6 32
BNFW_Notification::render_submitdiv()
S
41 3 75
BNFW_License::update_plugins_transient_unserialize_icons()
S
61 7 11
BNFW_Engine::send_user_login_email()
S
52 6 23
BNFW::change_password_email_message()
S
52 6 23
BNFW_Engine::get_edit_post_link()
S
53 6 23
BNFW_Engine::send_comment_reply_email()
S
53 6 21
BNFW_License::settings()
S
54 6 21
BNFW::hooks()
S
39 3 65
BNFW::is_gutenberg_active()
S
55 6 19
BNFW::user_role_changed()
S
55 6 19
BNFW_Notification::get_notifications()
S
49 5 33
BNFW_Engine::get_headers()
S
57 6 16
EDD_SL_Plugin_Updater::get_tested_version()
S
58 6 15
BNFW_License_Setting::bnfw_license_key_callback()
S
56 6 15
BNFW_Engine::handle_core_updated_notification()
S
53 5 21
BNFW_Engine::send_user_role_changed_email()
S
54 5 20
BNFW_Engine::send_user_role_added_email()
S
54 5 20
BNFW_Engine::bnfw_email_template_html()
S
45 1 80
BNFW_Engine::handle_filtered_data_notification()
S
55 5 19
BNFW::should_email_changed_email_be_sent()
S
54 5 19
bnfw_is_comment_author_needs_notification()
S
57 5 18
BNFW_Engine::handle_user_added_role_shortcodes()
S
56 5 18
BNFW_Engine::send_test_email()
S
55 5 17
BNFW_Engine::send_password_changed_email()
S
56 5 17
BNFW_Notification::handle_custom_edit_action()
S
57 5 15
EDD_SL_Plugin_Updater::get_cached_version_info()
S
59 5 14
EDD_SL_Plugin_Updater::get_cached_version_info()
S
59 5 14
BNFW::on_shutdown()
S
61 5 12
BNFW::handle_user_request_email_content()
S
56 4 19
BNFW::handle_user_confirmed_action_email_content()
S
56 4 19
BNFW::handle_user_request_email_subject()
S
56 4 19
BNFW::send_notification_async()
S
56 4 18
BNFW::bnfw_update_email_changing_subject()
S
56 4 17
BNFW_Engine::user_shortcodes()
S
48 3 32
BNFW::comment_post()
S
57 4 17
bnfw_general_options()
S
44 1 61
BNFW_Settings::bnfw_general_options()
S
44 1 61
EDD_SL_Plugin_Updater::convert_object_to_array()
S
63 5 10
EDD_SL_Plugin_Updater::convert_object_to_array()
S
63 5 10
wp_password_change_notification()
S
57 4 15
bnfw_menu_item_links()
S
51 3 28
BNFW_Settings::bnfw_menu_item_links()
S
51 3 28
EDD_SL_Plugin_Updater::api_request()
S
61 4 13
BNFW::on_post_transition()
S
62 4 12
BNFW_License_Setting::bnfw_render_license_page()
S
52 3 27
BNFW_Notification::custom_row_actions()
S
51 3 27
bnfw_format_user_capabilities()
S
63 4 11
EDD_SL_Plugin_Updater::request_recently_failed()
S
63 4 11
BNFW_Import::insert_notification()
S
53 3 22
BNFW_Import::insert_notification()
S
53 3 22
BNFW_Notification::register_post_type()
S
43 1 52
EDD_SL_Plugin_Updater::get_repo_api_data()
S
56 3 20
BNFW_Engine::get_export_downloadable_url()
S
55 3 19
EDD_SL_Plugin_Updater::get_repo_api_data()
S
57 3 19
BNFW::includes()
S
57 3 18
BNFW::on_email_changed()
S
56 3 17
BNFW_Engine::comment_shortcodes()
S
47 2 32
BNFW::handle_data_export_email_content()
S
57 3 16
BNFW::on_lost_password()
S
62 4 10
BNFW::trash_attachment()
S
65 4 8
EDD_SL_Plugin_Updater::__construct()
S
57 3 15
BNFW_Engine::get_emails_from_id()
S
63 4 10
BNFW_Engine::get_role_name_by_label()
S
65 4 9
BNFW::on_post_scheduled()
S
65 4 9
BNFW::handle_erasure_complete_email_notification()
S
59 3 14
BNFW_Engine::handle_user_role_shortcodes()
S
60 3 14
EDD_SL_Plugin_Updater::__construct()
S
58 3 14
BNFW::on_comment_status_change()
S
59 3 14
BNFW::handle_filtered_data_notification()
S
60 3 13
BNFW::change_password_email_title()
S
61 3 12
BNFW_Engine::check_email_content_type()
S
61 3 12
BNFW_Notification::admin_notices()
S
62 3 12
BNFW_License::__construct()
S
59 3 12
BNFW_Engine::confirm_action_shortcodes()
S
62 3 11
BNFW_Import::parse_content()
S
62 3 11
BNFW_Import::parse_content()
S
62 3 11
BNFW_Notification::should_show_users_count_msg()
S
63 3 11
BNFW_Notification::add_meta_boxes()
S
54 2 23
BNFW_Settings::bnfw_menu_item_link_targets()
S
65 1 31
bnfw_post_notifications()
S
58 2 16
BNFW_Engine::handle_global_user_shortcodes()
S
57 2 16
BNFW_Notification::is_assets_needed()
S
68 3 7
BNFW::insert_post()
S
65 3 8
BNFW_Import::import_needed()
S
71 3 6
BNFW::update_post()
S
64 3 10
BNFW::trash_post()
S
64 3 10
EDD_SL_Plugin_Updater::http_request_args()
S
69 3 6
BNFW::add_capability_to_admin()
S
66 3 9
BNFW::media_attachment_data_update_notification()
S
69 3 6
bnfw_menu_item_link_targets()
S
100 1 30
EDD_SL_Plugin_Updater::http_request_args()
S
67 3 7
BNFW_Import::import_needed()
S
71 3 6
BNFW::new_publish_media_notification()
S
69 3 6
BNFW::on_post_pending()
S
65 3 9
BNFW::can_send_comment_notification()
S
67 3 7
BNFW_Engine::post_term_shortcode_handler()
S
60 2 14
EDD_SL_Plugin_Updater::set_version_info_cache()
S
61 2 11
EDD_SL_Plugin_Updater::set_version_info_cache()
S
61 2 11
BNFW_Engine::media_post_shortcodes()
S
51 1 25
BNFW_Notification::is_notification_disabled()
S
54 1 23
BNFW_Notification::enqueue_assets()
S
53 1 22
BNFW_Notification::bnfw_kses_message_field()
S
55 1 22
BNFW_Notification::__construct()
S
54 1 19
BNFW_Settings::bnfw_settings_page()
S
59 1 18
bnfw_settings_page()
S
59 1 17
BNFW_Engine::data_erased_shortcodes()
S
69 2 6
str_contains()
S
77 2 3
BNFW::trackback_post()
S
71 2 6
BNFW::on_core_updated()
S
66 2 8
BNFW_Notification::gutenberg_flag()
S
68 2 8
BNFW::plugin_action_links()
S
65 2 8
BNFW_Engine::starts_with()
S
76 2 3
BNFW::pingback_post()
S
71 2 6
BNFW::handle_user_request_notification()
S
66 2 8
BNFW_Engine::send_user_login_email_for_admin()
S
68 2 7
BNFW::handle_user_confirmed_action_notification()
S
66 2 8
BNFW::is_metabox_request()
S
78 2 3
BNFW::on_password_reset()
S
70 2 6
BNFW_Import::map_notification_content()
S
69 2 7
BNFW_Import::map_notification_content()
S
69 2 7
BNFW_Notification::disable_gutenberg_for_notification()
S
71 2 6
BNFW::send_notification()
S
70 2 6
BNFW::should_password_changed_email_be_sent()
S
69 2 7
BNFW::publish_post()
S
68 2 7
BNFW::private_post()
S
68 2 7
BNFW_Notification::save_settings()
S
72 2 5
BNFW_Notification::notification_exists()
S
67 2 8
BNFW_Engine::may_be_strip_shortcode()
S
69 2 7
BNFW_Engine::get_role_label_by_name()
S
68 2 7
BNFW_Engine::get_first_image()
S
70 2 6
BNFW_Notification::starts_with()
S
76 2 3
BNFW::custom_post_type_hooks()
S
67 2 7
BNFW::user_login_admin_notification()
S
70 2 6
BNFW_Engine::handle_password_reset_shortcodes()
S
62 2 10
BNFW::factory()
S
69 2 7
BNFW::welcome_email()
S
70 2 6
bnfw_is_tracking_allowed()
S
69 2 7
bnfw_get_post_id_from_comment()
S
69 2 7
BNFW::user_login()
S
66 2 8
BNFW::handle_erasure_complete_email_content()
S
70 2 6
bnfw_get_user_select_class()
S
68 2 8
bnfw_email_format_radio()
S
61 1 14
BNFW_Settings::bnfw_email_format_radio()
S
61 1 14
bnfw_expanded_alowed_tags()
S
61 1 14
BNFW_License::auto_updater()
S
63 1 12
BNFW_Notification::columns_header()
S
66 1 8
BNFW::set_html_content_type()
S
82 1 3
BNFW::activate()
S
73 1 5
BNFW::set_text_content_type()
S
82 1 3
BNFW_Engine::core_updated_shortcodes()
S
79 1 3
BNFW_Engine::handle_user_request_email_shortcodes()
S
75 1 4
BNFW_Engine::global_shortcodes()
S
63 1 9
BNFW_Engine::data_request_shortcodes()
S
75 1 4
bnfw_admin_menu()
S
66 1 10
EDD_SL_Plugin_Updater::verify_ssl()
S
78 1 3
BNFW::handle_user_registered_admin_email()
S
79 1 3
BNFW_Settings::bnfw_render_allow_tracking()
S
69 1 7
BNFW_License_Setting::__construct()
S
75 1 4
BNFW_Settings::bnfw_enable_shortcodes_checkbox()
S
69 1 7
bnfw_render_allow_tracking()
S
69 1 7
EDD_SL_Plugin_Updater::init()
S
69 1 6
BNFW_AJAX::init()
S
79 1 3
BNFW_Notification::test_mail_sent()
S
79 1 3
BNFW::bnfw_define_constants()
S
85 1 3
BNFW::load_textdomain()
S
74 1 4
BNFW_Engine::set_html_content_type()
S
82 1 3
BNFW::publish_private_post()
S
81 1 3
BNFW_Settings::bnfw_admin_menu()
S
65 1 10
BNFW_Settings::__construct()
S
69 1 6
BNFW_Engine::handle_user_confirmed_action_email_shortcodes()
S
75 1 4
BNFW::handle_erasure_complete_email_subject()
S
79 1 3
BNFW::user_register()
S
80 1 3
BNFW_Notification::removable_query_vars()
S
77 1 3
BNFW_Import::delete_option()
S
77 1 4
BNFW_Notification::add_custom_edit_action()
S
72 1 5
BNFW_Engine::confirmed_action_shortcodes()
S
69 1 6
bnfw_general_options_callback()
S
100 1 2
BNFW::on_password_changed()
S
78 1 3
BNFW_Notification::remove_meta_boxes()
S
75 1 4
BNFW_Import::delete_option()
S
77 1 4
BNFW_License::hooks()
S
69 1 6
EDD_SL_Plugin_Updater::get_cache_key()
S
74 1 4
BNFW_Settings::bnfw_suppress_spam_checkbox()
S
69 1 7
EDD_SL_Plugin_Updater::log_failed_request()
S
79 1 3
EDD_SL_Plugin_Updater::get_active_plugins()
S
72 1 5
BNFW::create_term()
S
79 1 3
BNFW::bnfw_init()
S
82 1 3
BNFW_Notification::post_updated_messages()
S
74 1 4
BNFW_Engine::handle_data_export_email_shortcodes()
S
75 1 4
BNFW::acf_submit_form()
S
81 1 3
BNFW_Engine::taxonomy_shortcodes()
S
67 1 7
bnfw_enable_shortcodes_checkbox()
S
69 1 7
BNFW::__construct()
S
69 1 7
BNFW::bnfw_members_sanitize_role()
S
71 1 5
BNFW_Settings::bnfw_general_options_callback()
S
91 1 2
BNFW_Engine::set_text_content_type()
S
82 1 3
BNFW_Engine::data_export_shortcodes()
S
63 1 9
BNFW_Engine::handle_global_shortcodes()
S
75 1 4
EDD_SL_Plugin_Updater::verify_ssl()
S
78 1 3
bnfw_format_date()
S
71 1 5
BNFW_License_Setting::bnfw_add_license_page()
S
66 1 10
bnfw_suppress_spam_checkbox()
S
69 1 7
EDD_SL_Plugin_Updater::init()
S
67 1 7