Code Analysis: bbPress Notify (No-Spam) 2.15

Function Rating Maintainability Complexity Lines of code
bbPress_Notify_noSpam_Controller_Common_Core::send_notification()
D
27
29 137
bbPress_Notify_noSpam_Model_Settings::_validate()
D
37 33 69
bbPress_Notify_noSpam_Controller_Common_Core::notify_on_save()
B
47 21 29
bbPress_Notify_noSpam_Controller_Common_Core::get_recipients()
B
38 16 69
Tests_bbPress_Notify_noSpam_Helper_Converter::test_do_db_upgrade()
B
41 16 52
bbPress_Notify_noSpam_DAL_AddOns_DAO::get_products()
A
40 13 54
bbPress_Notify_noSpam_Controller_Common_Core::_build_email()
A
34 9 100
bbPress_Notify_noSpam_Model_Settings::maybe_set_default()
A
53 13 22
bbPress_Notify_noSpam_Model_Ajax_Request::_validate()
A
49 12 32
bbPress_Notify_noSpam_Helper_Converter::do_db_upgrade()
A
38 9 68
bbPress_Notify_noSpam_Controller_Common_Core::notify_new_reply()
A
44 10 45
bbPress_Notify_noSpam_Controller_Common_Core::notify_new_topic()
A
44 9 42
bbPress_Notify_noSpam_Controller_Common_Core::convert_images_and_links()
A
42 8 57
bbPress_Notify_noSpam::load_lib()
A
52 10 21
bbPress_Notify_noSpam::init()
A
49 8 30
bbPress_Notify_noSpam_DAL_AddOns_DAO::_local_plugin_meta()
A
49 8 28
bbPress_Notify_noSpam_Controller_Ajax::run_dry_run()
A
42 6 55
bbPress_Notify_noSpam_Controller_Ajax::fetch_posts()
A
43 6 53
bbPress_Notify_noSpam_Model_Settings::__get()
S
58 8 15
bbPress_Notify_noSpam_DAL_Dry_Run_Dao::_get_posts()
S
51 7 25
bbPress_Notify_noSpam_Controller_Ajax::_init()
S
55 7 21
Tests_bbPress_Notify_noSpam_Model_Settings::test_validate()
S
47 6 36
bbPress_Notify_noSpam_Controller_Admin_Notices::handle_notice_dismissal()
S
55 7 20
bbPress_Notify_noSpam_Controller_Common_Core::__construct()
S
43 5 47
bbPress_Notify_noSpam_View_Settings::add_meta_box()
S
51 6 27
bbPress_Notify_noSpam_Controller_Login::maybe_handle_login()
S
53 6 25
bbPress_Notify_noSpam_Controller_Admin_Notices::show_notices()
S
52 6 24
bbPress_Notify_noSpam_View_Settings::get_support_info()
S
50 5 26
Tests_bbPress_Notify_noSpam_Model_Settings::test_properties()
S
53 5 24
bbPress_Notify_noSpam_Controller_Common_Core::user_in_ok_role()
S
55 5 21
bbPress_Notify_noSpam_Controller_Settings::before_update_option()
S
55 5 20
bbPress_Notify_noSpam::bootstrap()
S
55 5 19
Tests_bbPress_notify_no_spam_notify_new::test_common_core_actions_filters()
S
43 3 49
bbPress_Notify_noSpam_Controller_Settings::load_bridge_warnings()
S
48 4 33
bbPress_Notify_noSpam_Controller_Common_Core::get_forum_parents()
S
57 5 18
Tests_bbPress_notify_no_spam_notify_new::test_notify_reply()
S
44 3 46
bbPress_Notify_noSpam_Controller_Ajax::update_db()
S
51 4 27
bbPress_Notify_noSpam::__construct()
S
55 4 20
bbPress_Notify_noSpam_Controller_Common_Core::filter_queued_recipients()
S
58 4 19
bbPress_Notify_noSpam_Controller_Admin_Notices::_set_msg()
S
56 4 19
bbPress_Notify_noSpam_Controller_Login::maybe_add_redirect()
S
56 4 17
Tests_bbPress_Notify_noSpam_DAL_Dry_Run_DAO::test_get_replies()
S
45 2 46
bbPress_Notify_noSpam_Controller_Common_Core::set_content_type()
S
59 4 16
Tests_bbPress_notify_no_spam_notify_new::test_send_notification()
S
49 3 30
bbPress_Notify_noSpam_DAL_AddOns_DAO::sort_by_recommended()
S
64 5 9
bbPress_Notify_noSpam_Controller_Common_Core::bbpnns_is_in_effect()
S
69 5 7
bbPress_Notify_noSpam_Controller_Common_Core::trace()
S
58 4 14
bbPress_Notify_noSpam::render_template()
S
61 4 11
Tests_bbPress_Notify_noSpam_Controller_Login::test_redirect_url()
S
53 3 23
Tests_bbPress_notify_no_spam_notify_new::setUp()
S
44 1 50
Tests_bbPress_notify_no_spam_notify_new::test_notify_on_publish_future_post()
S
47 2 35
Tests_bbPress_Notify_noSpam_Controller_Login::test_links()
S
55 3 20
bbPress_Notify_noSpam_Model_Ajax_Request::output()
S
56 3 19
Tests_bbPress_Notify_noSpam_DAL_Dry_Run_DAO::test_get_topics()
S
48 2 33
Tests_bbPress_Notify_noSpam_Controller_Login::setUp()
S
50 2 32
Tests_bbPress_Notify_noSpam_Setup::test_environment()
S
56 3 16
Tests_bbPress_Notify_noSpam_Helper_Converter::_set_up_legacy_data()
S
64 4 10
bbPress_Notify_noSpam_Uninstall::delete_options()
S
51 2 30
bbPress_Notify_noSpam_Model_Abstract_Model::set_properties()
S
63 4 10
bbPress_Notify_noSpam::load_all()
S
58 3 14
bbPress_Notify_noSpam_Controller_Common_Core::forums_auto_subscribe_new_user()
S
60 3 14
bbPress_Notify_noSpam_Controller_Settings::_build_linked_tags()
S
60 3 13
bbPress_Notify_noSpam_Controller_Common_Core::bg_notify_new_reply()
S
60 3 13
bbPress_Notify_noSpam_Controller_Admin_Notices::__construct()
S
59 3 13
bbPress_Notify_noSpam_View_Settings::render_support_box()
S
59 3 13
Tests_bbPress_Notify_noSpam_Model_Settings::test_as_array()
S
61 3 12
bbPress_Notify_noSpam_View_Settings::render_topics_box()
S
61 3 11
bbPress_Notify_noSpam_View_Settings::render_replies_box()
S
61 3 11
bbPress_Notify_noSpam_DAL_Settings_Dao::load()
S
63 3 11
bbPress_Notify_noSpam_Controller_Common_Core::get_topmost_forum_link()
S
62 3 11
bbPress_Notify_noSpam_Controller_Common_Core::bg_notify_new_topic()
S
62 3 11
bbPress_Notify_noSpam_Controller_Admin_Notices::get_message()
S
62 3 11
Tests_bbPress_notify_no_spam_notify_new::test_bbpnns_is_in_effect()
S
48 1 40
Tests_bbPress_notify_no_spam_notify_new::test_notify_topic()
S
47 1 36
Tests_bbPress_Notify_noSpam_Model_Settings::test_defaults()
S
55 2 18
bbPress_Notify_noSpam_View_Settings::render_tab()
S
64 3 9
bbPress_Notify_noSpam_View_Settings::render_general_box()
S
65 3 9
Tests_bbPress_Notify_noSpam_Helper_Converter::setUp()
S
50 1 30
bbPress_Notify_noSpam_DAL_Settings_Dao::validate_settings()
S
64 3 9
bbPress_Notify_noSpam_Helper_Converter::__construct()
S
69 3 6
bbPress_Notify_noSpam::get_called_class()
S
66 3 8
bbPress_Notify_noSpam_Model_Abstract_Model::is_registered()
S
64 3 9
bbPress_Notify_noSpam_Model_Ajax_Request::set_properties()
S
65 3 9
bbPress_Notify_noSpam_Controller_Common_Core::munge_newpost_recipients()
S
66 3 8
bbPress_Notify_noSpam_Controller_Settings::__construct()
S
57 2 14
Tests_bbPress_notify_no_spam_notify_new::test_get_recipients()
S
50 1 28
bbPress_Notify_noSpam_View_Settings::enqueue_tabs()
S
60 2 12
Tests_bbPress_Notify_noSpam_DAL_Addons_DAO::test_get_products()
S
60 2 12
bbPress_Notify_noSpam_Controller_Admin_Notices::set_notice()
S
64 2 11
bbPress_Notify_noSpam_Controller_Common_Core::bg_filter_topic_recipients()
S
62 2 11
Tests_bbPress_notify_no_spam_notify_new::test_filters()
S
61 2 11
bbPress_Notify_noSpam_Controller_Common_Core::bg_filter_reply_recipients()
S
62 2 11
bbPress_Notify_noSpam_Controller_Common_Core::get_available_topic_tags()
S
63 2 11
bbPress_Notify_noSpam_Model_Settings::translate_options()
S
51 1 26
Tests_bbPress_notify_no_spam_notify_new::test_user_in_role()
S
55 1 21
Tests_bbPress_notify_no_spam_notify_new::test_notify_on_save()
S
55 1 20
Tests_bbPress_notify_no_spam_notify_new::test_convert_images_and_links()
S
57 1 19
Tests_bbPress_notify_no_spam_notify_new::test_available_tags()
S
56 1 17
bbPress_Notify_noSpam_Controller_Settings::add_settings_submenu()
S
58 1 17
bbPress_Notify_noSpam_Controller_Settings::add_addons_submenu()
S
58 1 16
bbPress_Notify_noSpam_Controller_Admin_Notices::capture_redirect()
S
69 2 6
bbPress_Notify_noSpam_Model_Ajax_Request::content_type()
S
66 2 10
bbPress_Notify_noSpam_Model_Ajax_Request::_doing_ajax()
S
79 2 3
bbPress_Notify_noSpam_Controller_Admin_Core::plugin_action_links()
S
70 2 5
Tests_bbPress_notify_no_spam_notify_new::test_topic_recipient_filter()
S
58 1 15
bbPress_Notify_noSpam::do_activation()
S
68 2 7
bbPress_Notify_noSpam::get_topic_post_type()
S
68 2 8
bbPress_Notify_noSpam_Model_Ajax_Request::done()
S
65 2 10
bbPress_Notify_noSpam::get_reply_post_type()
S
68 2 8
bbPress_Notify_noSpam_Controller_Common_Core::get_available_reply_tags()
S
65 2 9
bbPress_Notify_noSpam_Model_Abstract_Model::is_valid()
S
72 2 5
Tests_bbPress_Notify_noSpam_Model_Settings::test_getter()
S
59 1 15
bbPress_Notify_noSpam_Model_Settings::set_properties()
S
69 2 7
bbPress_Notify_noSpam_Model_Settings::__set()
S
69 2 7
bbPress_Notify_noSpam::get_env()
S
73 2 5
bbPress_Notify_noSpam_Controller_Ajax::_done()
S
66 2 10
bbPress_Notify_noSpam_Model_Settings::as_array()
S
67 2 8
bbPress_Notify_noSpam_View_Metaboxes::notification_meta_box_content()
S
64 2 8
bbPress_Notify_noSpam_View_Settings::__construct()
S
70 2 6
bbPress_Notify_noSpam_Controller_Ajax::__construct()
S
66 2 8
bbPress_Notify_noSpam_View_Settings::show_admin()
S
64 2 8
bbPress_Notify_noSpam::is_admin()
S
70 2 6
bbPress_Notify_noSpam_Controller_Ajax::_doing_ajax()
S
79 2 3
bbPress_Notify_noSpam_Controller_Settings::add_main_menu()
S
58 1 15
bbPress_Notify_noSpam::get_forum_post_type()
S
68 2 8
bbPress_Notify_noSpam_Child::__construct()
S
67 2 9
bbPress_Notify_noSpam_Controller_Admin_Core::deactivate_old()
S
71 2 7
bbPress_Notify_noSpam_Model_Ajax_Request::__set()
S
67 2 8
bbPress_Notify_noSpam_DAL_Dry_Run_Dao::get_replies()
S
59 1 14
bbPress_Notify_noSpam_DAL_Dry_Run_Dao::get_topics()
S
59 1 14
Tests_bbPress_notify_no_spam_notify_new::test_dry_run_trace()
S
59 1 13
bbPress_Notify_noSpam::set_env()
S
60 1 13
Tests_bbPress_Notify_noSpam_Setup::test_render_template()
S
60 1 12
Tests_bbPress_notify_no_spam_notify_new::test_bg_filter_topic_recipients()
S
61 1 11
Tests_bbPress_notify_no_spam_notify_new::test_bg_filter_reply_recipients()
S
61 1 11
bbPress_Notify_noSpam_Controller_Settings::available_topics_tags()
S
75 1 4
bbPress_Notify_noSpam_DAL_Settings_Dao::save()
S
75 1 4
bbPress_Notify_noSpam_DAL_AddOns_DAO::__construct()
S
91 1 2
Tests_bbPress_notify_no_spam_notify_new::test_filter_queued_recipients()
S
67 1 7
bbPress_Notify_noSpam_Child::get_env()
S
80 1 3
bbPress_Notify_noSpam_Uninstall::do_stuff()
S
73 1 5
bbPress_Notify_noSpam_Controller_Common_Core::_process_date_tag()
S
69 1 6
Tests_bbPress_Notify_noSpam_Setup::test_plugin_loads()
S
80 1 3
Tests_bbPress_Notify_noSpam_Model_Settings::test_setter_on_new()
S
75 1 4
bbPress_Notify_noSpam_Controller_Admin_Core::add_notification_meta_box()
S
67 1 7
bbPress_Notify_noSpam_Controller_Common_Core::remove_core_topic_notification()
S
79 1 3
bbPress_Notify_noSpam_Controller_Settings::register_options()
S
73 1 4
Tests_bbPress_Notify_noSpam_DAL_Addons_DAO::setUp()
S
77 1 4
bbPress_Notify_noSpam_Controller_Settings::get_page_hook()
S
82 1 3
bbPress_Notify_noSpam_Controller_Settings::available_reply_tags()
S
75 1 4
bbPress_Notify_noSpam_Controller_Settings::weve_moved()
S
73 1 4
bbPress_Notify_noSpam_Controller_Common_Core::add_signature_header()
S
75 1 4
Tests_bbPress_Notify_noSpam_Helper_Converter::test_construct()
S
69 1 6
bbPress_Notify_noSpam_View_Settings::add_admin_css()
S
78 1 3
Tests_bbPress_Notify_noSpam_Uninstall::setUp()
S
76 1 4
bbpnns()
S
82 1 3
bbPress_Notify_noSpam_Controller_Admin_Core::__construct()
S
69 1 6
Tests_bbPress_Notify_noSpam_Controller_Login::test_filters()
S
68 1 6
bbPress_Notify_noSpam_Model_Abstract_Model::validate()
S
100 1 0
Tests_bbPress_Notify_noSpam_Model_Settings::setUp()
S
77 1 4
bbPress_Notify_noSpam_Model_Abstract_Model::__get()
S
80 1 3
bbPress_Notify_noSpam_Child::render_template()
S
78 1 3
bbPress_Notify_noSpam_Model_Settings::__construct()
S
74 1 5
bbPress_Notify_noSpam_Model_Abstract_Model::__set()
S
73 1 5
Tests_bbPress_Notify_noSpam_Setup::test_load_lib()
S
63 1 10
Tests_bbPress_Notify_noSpam_Setup::setUp()
S
77 1 4
Tests_bbPress_notify_no_spam_notify_new::test_construct()
S
74 1 4
Tests_bbPress_Notify_noSpam_DAL_Dry_Run_DAO::setUp()
S
77 1 4
bbPress_Notify_noSpam_Model_Settings::is_valid()
S
79 1 3
Tests_bbPress_Notify_noSpam_Setup::test_is_admin_method()
S
63 1 10
bbPress_Notify_noSpam_Controller_Admin_Notices::get_notice_pool()
S
63 1 10
bbPress_Notify_noSpam::send_notification()
S
77 1 3
bbPress_Notify_noSpam::log_msg()
S
76 1 3
bbPress_Notify_noSpam_View_Settings::get_nav_tabs()
S
80 1 3
bbPress_Notify_noSpam_View_Metaboxes::__construct()
S
80 1 3
bbPress_Notify_noSpam::load_textdomain()
S
77 1 3
bbPress_Notify_noSpam_DAL_Settings_Dao::__construct()
S
91 1 2
bbPress_Notify_noSpam_Model_Ajax_Request::__construct()
S
81 1 3
bbPress_Notify_noSpam_Controller_Common_Core::handle_mandrill_nl2br()
S
75 1 4
bbPress_Notify_noSpam::do_deactivation()
S
83 1 3
bbPress_Notify_noSpam_Controller_Common_Core::set_alt_body()
S
79 1 3
bbPress_Notify_noSpam_Controller_Admin_Notices::clear_notices()
S
81 1 3
bbPress_Notify_noSpam_Child::load_lib()
S
78 1 3
bbPress_Notify_noSpam_Controller_Common_Core::get_available_tags()
S
80 1 3
bbPress_Notify_noSpam_Controller_Login::__construct()
S
69 1 6
Tests_bbPress_Notify_noSpam_Uninstall::test_plugin_settings_are_deleted()
S
81 1 3
bbPress_Notify_noSpam_Controller_Settings::add_menu_pages()
S
71 1 6
Tests_bbPress_Notify_noSpam_Model_Settings::test_construct()
S
75 1 4
bbPress_Notify_noSpam_Helper_Converter::enqueue_scripts()
S
65 1 8
bbPress_Notify_noSpam_Uninstall::__construct()
S
79 1 3
bbPress_Notify_noSpam_Model_Ajax_Request::__get()
S
76 1 4
bbPress_Notify_noSpam_Model_Abstract_Model::as_array()
S
72 1 5
bbPress_Notify_noSpam_Controller_Common_Core::remove_core_forum_notification()
S
79 1 3
bbPress_Notify_noSpam_Controller_Common_Core::capture_wp_mail_failure()
S
81 1 3
bbPress_Notify_noSpam::missing_bbpress_notice()
S
70 1 9
Tests_bbPress_notify_no_spam_notify_new::_url_filter()
S
79 1 3
bbPress_Notify_noSpam_Controller_Admin_Notices::has_notices()
S
80 1 3
bbPress_Notify_noSpam_View_Settings::show_addons_page()
S
71 1 5
Tests_bbPress_notify_no_spam_notify_new::tearDown()
S
72 1 6
bbPress_Notify_noSpam_DAL_Dry_Run_Dao::__construct()
S
91 1 2
bbPress_Notify_noSpam_View_Settings::add_admin_js()
S
77 1 3
bbPress_Notify_noSpam_Controller_Settings::get_bridge_warnings()
S
76 1 4
bbPress_Notify_noSpam_Model_Abstract_Model::register_properties()
S
81 1 3