Code Analysis: Check & Log Email 1.0.8

Function Rating Maintainability Complexity Lines of code
CheckEmail\Core\DB\Check_Email_Table_Manager::fetch_log_items()
C
32 27 100
CheckEmail\Core\UI\Page\Check_Email_Settings_Page::render_page()
B
38 15 70
CheckEmail\Core\Request\Check_Email_Nonce_Checker::check_nonce()
A
48 14 34
CheckEmail\Core\DB\Check_Email_Table_Manager::fetch_log_id_by_data()
A
46 11 35
CheckEmail\Core\Request\Check_Email_Log_List_Action::view_log_message()
A
41 8 64
CheckEmail\Core\UI\Page\Check_Email_Status_Page::checkemail_send()
A
43 9 44
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::trigger_threshold_met_notification_email()
A
46 8 39
Check_Email_Header_Parser::parse()
A
51 8 28
CheckEmail\Util\Check_Email_Header_Parser::parse()
A
51 8 28
check_email_delete_db_data()
A
51 8 24
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::sanitize_db_size_notification()
A
53 8 22
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_db_size_notification_settings()
S
41 5 60
CheckEmail\Core\Check_Email_Logger::log_email()
S
45 6 40
CheckEmail\Core\Check_Email_From_Handler::override_values()
S
59 7 13
CheckEmail\Core\DB\Check_Email_Table_Manager::query_log_items_by_column()
S
50 6 26
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::search_box()
S
53 6 21
CheckEmail\Util\Check_Email_Header_Parser::join_headers()
S
56 6 19
Check_Email_Header_Parser::join_headers()
S
56 6 19
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::column_from_email()
S
56 6 17
CheckEmail\Core\Request\Check_Email_Override_PluginAPI::add_version_to_plugin_api_response()
S
58 6 16
CheckEmail\Core\UI\Page\Check_Email_Status_Page::render_page()
S
50 5 29
CheckEmail\Core\Request\Check_Email_Log_List_Action::delete_logs()
S
56 5 17
CheckEmail\Core\Check_Email_Review::ajax()
S
57 5 16
CheckEmail\Core\UI\Page\Check_Email_Settings_Page::register_settings()
S
51 4 29
CheckEmail\Core\Request\Check_Email_Log_List_Action::update_capabilities_for_user_roles()
S
60 5 14
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::render_page()
S
51 4 26
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::column_result()
S
57 4 18
CheckEmail\Core\Check_Email_Logger::log_buddy_press_email()
S
56 4 18
CheckEmail\Core\UI\Setting\Check_Email_Setting::sanitize()
S
57 4 16
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::has_array_contains_required_keys()
S
63 5 10
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::register_page()
S
58 4 15
CheckEmail\Core\DB\Check_Email_Table_Manager::fetch_log_items_by_id()
S
57 4 15
CheckEmail\Core\UI\Page\Check_Email_Settings_Page::is_smtp_installed()
S
59 4 15
wp_chill_check_email_is_admin_non_ajax()
S
66 5 9
wp_chill_check_email_stringify()
S
63 5 10
wp_chill_check_email_get_advanced_search_term_predicates()
S
59 4 14
Check_Email_Log_Init::on_activate()
S
59 4 14
CheckEmail\Check_Email_Log_Autoloader::load_mapped_file()
S
59 4 14
CheckEmail\Core\Check_Email_Logger::mark_email_log_as_failed()
S
60 4 14
CheckEmail\Core\DB\Check_Email_Table_Manager::on_activate()
S
62 4 12
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::column_sent_date()
S
47 2 39
CheckEmail\Core\Request\Check_Email_Override_PluginAPI::setup_updaters_for_inactive_addons()
S
54 3 22
CheckEmail\Core\Check_Email_From_Handler::set_wp_mail_from()
S
70 4 6
CheckEmail\Core\Check_Email_From_Handler::set_wp_mail_from_name()
S
70 4 6
CheckEmail\Core\Check_Email_From_Handler::override_enabled()
S
70 4 6
wpchill_sanitize_check_email_with_name()
S
59 3 14
CheckEmail\Check_Email_Log_Autoloader::load_class()
S
60 3 13
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::restrict_array_to_db_size_notification_setting_keys()
S
60 3 13
CheckEmail\Core\Check_Email_Log::load()
S
62 3 12
CheckEmail\Check_Email_Log_Autoloader::add_namespace()
S
61 3 12
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_allowed_user_roles_settings()
S
51 2 27
CheckEmail\Core\Check_Email_Review::init()
S
61 3 12
CheckEmail\Core\Check_Email_Review::ajax_script()
S
52 1 41
CheckEmail\Util\Check_Email_Header_Parser::parse_header_line()
S
62 3 11
Check_Email_Header_Parser::parse_header_line()
S
62 3 11
check_email_log()
S
52 2 24
Check_Email_Log_Init::create_checkemaillog_table()
S
55 2 20
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::initialize()
S
50 1 32
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::get_user_roles()
S
65 3 10
wp_chill_check_email_array_checked()
S
67 3 8
CheckEmail\Core\UI\Check_Email_UI_Loader::load()
S
65 3 10
CheckEmail\Core\UI\Check_Email_UI_Loader::initialize_components()
S
68 3 7
CheckEmail\Core\Check_Email_Log::add_loadie()
S
65 3 10
CheckEmail\Core\Check_Email_Admin_Capability_Giver::add_cap_to_admin_cap_list()
S
64 3 10
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::get_per_page()
S
64 3 9
CheckEmail\Core\UI\Page\Check_Email_Settings_Page::register_page()
S
60 2 14
CheckEmail\Core\Request\Check_Email_Log_List_Action::render_log_deleted_notice()
S
60 2 14
CheckEmail\Core\UI\Setting\Check_Email_Setting::build_fields()
S
61 2 12
CheckEmail\Core\Check_Email_Review::__construct()
S
61 2 12
CheckEmail\Core\DB\Check_Email_Table_Manager::get_create_table_query()
S
58 1 20
CheckEmail\Core\UI\Page\Check_Email_Status_Page::register_page()
S
57 1 20
CheckEmail\Core\UI\Component\Check_Email_Dashboard_Widget::render()
S
56 1 19
CheckEmail\Core\DB\Check_Email_Table_Manager::mark_log_as_failed()
S
58 1 19
wp_chill_check_email_get_column_label_map()
S
56 1 18
CheckEmail\Check_Email_Log_Autoloader::add_file()
S
72 2 5
wp_chill_check_email_array_get()
S
78 2 3
wp_chill_check_email_advanced_search_term()
S
69 2 7
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::get_columns()
S
64 2 9
wp_chill_check_email_get_column_label()
S
69 2 7
CheckEmail\Core\Check_Email_Review::five_star_wp_rate_notice()
S
60 1 15
CheckEmail\Core\UI\Check_Email_UI_Loader::is_show_dashboard_widget()
S
65 2 9
CheckEmail\Core\Request\Check_Email_Log_List_Action::delete_all_logs()
S
69 2 6
CheckEmail\Core\Check_Email_Admin_Capability_Giver::add_cap_to_admin()
S
69 2 7
CheckEmail\Check_Email_Log_Autoloader::register()
S
71 2 6
CheckEmail\Core\DB\Check_Email_Table_Manager::create_table_for_new_blog()
S
70 2 7
CheckEmail\Core\Check_Email_Logger::on_email_failed()
S
67 2 8
CheckEmail\Core\UI\Page\Check_Email_BasePage::get_screen()
S
71 2 6
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::sanitize_allowed_user_roles()
S
71 2 6
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::save_screen_options()
S
70 2 7
sanitize_email()
S
65 2 8
CheckEmail\Check_Email_Log_Autoloader::require_file()
S
70 2 7
CheckEmail\Core\DB\Check_Email_Table_Manager::create_table_if_needed()
S
63 2 10
CheckEmail\Core\DB\Check_Email_Table_Manager::update_table_if_needed()
S
65 2 9
Check_Email_Log_Init::on_create_blog()
S
69 2 7
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::verify_email_log_threshold()
S
70 2 6
CheckEmail\Core\Request\Check_Email_Log_List_Action::deleted_logs_message()
S
73 2 5
CheckEmail\Core\Check_Email_Review::check()
S
71 2 6
CheckEmail\Core\Check_Email_Review::value()
S
66 2 9
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_log_threshold_met_notice()
S
61 1 13
check_email_compatibility_notice()
S
66 1 13
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::prepare_items()
S
61 1 12
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_enable_dashboard_widget_settings()
S
62 1 11
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_remove_on_uninstall_settings()
S
62 1 11
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::load_page()
S
63 1 11
CheckEmail\Core\Request\Check_Email_Log_List_Action::check_email_kses_allowed_html()
S
64 1 10
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::get_table_manager()
S
76 1 4
Check_Email_Header_Parser::parse_headers()
S
80 1 3
CheckEmail\Core\UI\Page\Check_Email_Status_Page::load()
S
75 1 4
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::column_subject()
S
80 1 3
CheckEmail\Core\Request\Check_Email_Override_PluginAPI::load()
S
74 1 4
CheckEmail\Core\UI\Check_Email_UI_Loader::initialize_pages()
S
72 1 5
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::no_items()
S
80 1 3
CheckEmail\Core\UI\Setting\Check_Email_Setting::get_fields()
S
81 1 3
CheckEmail\Core\UI\Setting\Check_Email_Setting::register()
S
77 1 4
CheckEmail\Core\UI\Page\Check_Email_Settings_Page::get_setting_sections()
S
80 1 3
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::allowed_user_roles_added()
S
80 1 3
wp_chill_check_email_get_user_defined_date_format()
S
78 1 3
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::get_bulk_actions()
S
67 1 8
CheckEmail\Core\Check_Email_Log::get_plugin_path()
S
80 1 3
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::load_view_logs_assets()
S
66 1 7
CheckEmail\Core\Check_Email_Log::__construct()
S
68 1 7
CheckEmail\Core\UI\Page\Check_Email_BasePage::load()
S
79 1 3
CheckEmail\Core\UI\Setting\Check_Email_Setting::initialize()
S
100 1 0
CheckEmail\Core\Check_Email_Logger::load()
S
69 1 6
CheckEmail\Core\UI\Setting\Check_Email_Setting::load()
S
79 1 3
CheckEmail\Core\UI\Component\Check_Email_Dashboard_Widget::load()
S
79 1 3
CheckEmail\Core\Check_Email_Review::enqueue()
S
81 1 3
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::register_threshold_met_admin_notice()
S
79 1 3
CheckEmail\Core\Request\Check_Email_Log_List_Action::load()
S
67 1 7
CheckEmail\Core\UI\Setting\Check_Email_Setting::get_value()
S
75 1 4
Check_Email_Log_Init::on_delete_blog()
S
73 1 5
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::get_nonce_args()
S
74 1 5
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::column_cb()
S
70 1 7
CheckEmail\Core\UI\Page\Check_Email_BasePage::register_page()
S
100 1 0
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::column_to_email()
S
75 1 4
CheckEmail\Core\DB\Check_Email_Table_Manager::get_log_table_name()
S
76 1 4
CheckEmail\Core\UI\Setting\Check_Email_Setting::__construct()
S
68 1 7
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::__construct()
S
64 1 10
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::sanitize_remove_on_uninstall()
S
80 1 3
CheckEmail\Core\Check_Email_Admin_Capability_Giver::load()
S
78 1 3
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_override_emails_from_settings()
S
64 1 9
CheckEmail\Util\Check_Email_Header_Parser::parse_headers()
S
80 1 3
check_email_deactivate()
S
81 1 3
CheckEmail\Core\UI\Page\Check_Email_Log_List_Page::load()
S
71 1 5
CheckEmail\Core\UI\Component\Check_Email_Dashboard_Widget::register()
S
70 1 7
CheckEmail\Core\DB\Check_Email_Table_Manager::get_logs_count()
S
73 1 5
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::allowed_user_roles_changed()
S
72 1 5
wp_chill_check_email_get_advanced_search_url()
S
75 1 4
CheckEmail\Core\DB\Check_Email_Table_Manager::delete_table_from_deleted_blog()
S
76 1 4
CheckEmail\Core\Request\Check_Email_Nonce_Checker::load()
S
79 1 3
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::sanitize_enable_logs()
S
80 1 3
CheckEmail\Core\DB\Check_Email_Table_Manager::load()
S
72 1 5
CheckEmail\Core\Check_Email_Log::get_version()
S
81 1 3
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_email_from_name_settings()
S
64 1 10
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::column_default()
S
79 1 3
CheckEmail\Core\UI\Page\Check_Email_Status_Page::checkemail_assets()
S
68 1 6
CheckEmail\Core\UI\list_table\Check_Email_Log_List_Table::get_sortable_columns()
S
66 1 9
CheckEmail\Core\DB\Check_Email_Table_Manager::delete_logs()
S
69 1 6
wp_chill_check_email_get_dismiss_icon()
S
78 1 5
wp_chill_check_email_get_column_label_by_db_column()
S
81 1 3
CheckEmail\Core\UI\Page\Check_Email_Settings_Page::load()
S
70 1 6
CheckEmail\Core\DB\Check_Email_Table_Manager::delete_logs_older_than()
S
68 1 7
CheckEmail\Core\Request\Check_Email_Log_List_Action::get_table_manager()
S
76 1 4
CheckEmail\Core\Check_Email_Log::get_plugin_file()
S
82 1 3
CheckEmail\Core\DB\Check_Email_Table_Manager::delete_all_logs()
S
72 1 5
CheckEmail\Core\DB\Check_Email_Table_Manager::insert_log()
S
73 1 5
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_enable_logs_settings()
S
64 1 9
wp_chill_check_email_get_confirm_icon()
S
78 1 5
CheckEmail\Core\DB\Check_Email_Table_Manager::validate_columns()
S
79 1 3
wpchill_check_email()
S
79 1 4
CheckEmail\Core\UI\Setting\Check_Email_Setting::render()
S
83 1 3
CheckEmail\Core\UI\Setting\Check_Email_Log_Setting_Section::add_field()
S
80 1 3
CheckEmail\Core\Check_Email_From_Handler::__construct()
S
69 1 6
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::load()
S
66 1 7
CheckEmail\Core\UI\Setting\Check_Email_Core_Setting::render_email_from_email_settings()
S
64 1 10