Code Analysis: Email Log 2.4.7

Function Rating Maintainability Complexity Lines of code
EmailLog\Core\DB\TableManager::fetch_log_items()
C
31 29 108
EmailLog\Core\Request\NonceChecker::check_nonce()
B
44 19 44
EDD_SL_Plugin_Updater::show_changelog()
B
41 17 50
EDD_SL_Plugin_Updater::show_update_notification()
A
39 14 64
EDD_SL_Plugin_Updater::api_request()
A
44 14 40
EDD_SL_Plugin_Updater::plugins_api_filter()
A
45 12 42
EDD_SL_Plugin_Updater::check_update()
A
50 12 25
EmailLog\Core\DB\TableManager::fetch_log_id_by_data()
A
46 11 35
EmailLog\Addon\License\BaseLicense::activate()
A
45 10 40
EmailLog\Core\Request\LogListAction::view_log_message()
A
41 7 64
EmailLog\Core\UI\Setting\CoreSetting::trigger_threshold_met_notification_email()
A
45 8 40
EmailLog\Util\EmailHeaderParser::parse()
A
51 8 28
Email_Header_Parser::parse()
A
51 8 28
EmailLog\Addon\License\Licenser::render_bundle_license_form()
A
42 6 58
email_log_delete_db_data()
A
50 8 27
EmailLog\Core\UI\Setting\CoreSetting::sanitize_db_size_notification()
A
53 8 22
Email_Log_List_Table::prepare_items()
A
47 7 33
Email_Log_List_Table::process_bulk_action()
S
50 6 28
EmailLog\Core\DB\TableManager::query_log_items_by_column()
S
50 6 26
EmailLog\Core\UI\ListTable\LogListTable::search_box()
S
53 6 21
EmailLog\Util\EmailHeaderParser::join_headers()
S
56 6 19
Email_Header_Parser::join_headers()
S
56 6 19
EmailLog\Core\Request\OverridePluginAPI::add_version_to_plugin_api_response()
S
58 6 16
EmailLog\Core\UI\Setting\CoreSetting::render_db_size_notification_settings()
S
44 4 46
EmailLog\Addon\Upseller::upsell_auto_delete_logs_in_log_list_page()
S
54 5 24
EmailLog\Addon\API\EDDAPI::call_edd_api()
S
56 5 18
EmailLog\Addon\License\BaseLicense::deactivate()
S
57 5 16
EmailLog\Addon\AddonList::get_addons()
S
58 5 15
EmailLog\Addon\Addon::render_individual_license()
S
46 3 44
EmailLog\Core\Request\LogListAction::update_capabilities_for_user_roles()
S
60 5 14
EmailLog\Core\UI\Page\SystemInfoPage::render_page()
S
50 3 37
Email_Log_List_Table::extra_tablenav()
S
48 3 37
EmailLog\Core\EmailLogger::log_buddy_press_email()
S
56 4 18
EmailLog\Core\UI\ListTable\LogListTable::column_result()
S
57 4 18
EmailLog\Core\UI\Component\EmailLogSystemInfo::print_email_log_details()
S
56 4 17
EmailLog\Core\UI\Setting\Setting::sanitize()
S
58 4 16
is_admin_non_ajax_request()
S
66 5 9
load_email_log()
S
49 3 30
EmailLog\Addon\EmailLogAddon::load()
S
58 4 15
EmailLog\Core\DB\TableManager::fetch_log_items_by_id()
S
57 4 15
EmailLog\Core\UI\Setting\CoreSetting::has_array_contains_required_keys()
S
63 5 10
get_advanced_search_term_predicates()
S
59 4 14
EmailLog\Core\EmailLogger::mark_email_log_as_failed()
S
60 4 14
Email_Log_Init::on_activate()
S
59 4 14
EmailLog\EmailLogAutoloader::load_mapped_file()
S
59 4 14
EmailLog\Addon\DependencyEnforcer::get_outdated_active_addons()
S
60 4 13
EmailLog\Core\Request\LogListAction::delete_logs()
S
60 4 13
EmailLog\Core\DB\TableManager::on_activate()
S
62 4 12
EmailLog\Core\UI\Page\SettingsPage::register_settings()
S
53 3 26
EmailLog\Core\Request\OverridePluginAPI::setup_updaters_for_inactive_addons()
S
54 3 22
EmailLog\Core\EmailLogger::log_email()
S
49 2 33
EmailLog\Addon\Addon::print_valid_actions()
S
56 3 18
EmailLog\Core\UI\Component\EmailLogSystemInfo::print_individual_addon_license()
S
56 3 18
EDD_SL_Plugin_Updater::get_cached_version_info()
S
63 4 10
el_fix_compatibility_with_wpmandrill()
S
65 4 9
sanitize_email_with_name()
S
59 3 14
EmailLog\EmailLogAutoloader::load_class()
S
60 3 13
EDD_SL_Plugin_Updater::__construct()
S
58 3 13
EmailLog\Core\UI\ListTable\LogListTable::column_sent_date()
S
46 1 43
EmailLog\Core\UI\Setting\CoreSetting::restrict_array_to_db_size_notification_setting_keys()
S
60 3 13
EmailLog\Addon\Addon::__construct()
S
61 3 13
EmailLog\Core\UI\Setting\CoreSetting::render_allowed_user_roles_settings()
S
52 2 27
EmailLog\Core\EmailLog::load()
S
62 3 12
EmailLog\EmailLogAutoloader::add_namespace()
S
61 3 12
EmailLog\Addon\Addon::print_actions()
S
64 3 12
EmailLog\Util\EmailHeaderParser::parse_header_line()
S
62 3 11
EmailLog\Addon\License\BaseLicense::has_expired()
S
63 3 11
Email_Header_Parser::parse_header_line()
S
62 3 11
EmailLog\Addon\AddonList::__construct()
S
63 3 11
Email_Log_List_Table::column_sent_date()
S
47 1 40
EmailLog\Core\UI\Page\LogListPage::render_page()
S
54 2 24
EmailLog\Core\UI\Page\AddonListPage::render_page()
S
56 2 22
EmailLog\Addon\DependencyEnforcer::render_compatibility_notice()
S
56 2 21
Email_Log_Init::create_emaillog_table()
S
55 2 20
EmailLog\Addon\License\Licenser::activate_addon_license()
S
56 2 18
EmailLog\Addon\License\Licenser::deactivate_addon_license()
S
56 2 18
EmailLog\Addon\Upseller::upsell_auto_delete_logs_in_settings_page()
S
60 2 17
EmailLog\Core\UI\Page\BasePage::render_help_tab()
S
50 1 32
EmailLog\Addon\AddonUpdater::setup_updater()
S
58 2 16
get_log_columns_to_export()
S
60 2 16
checked_array()
S
67 3 8
EmailLog\Addon\License\BaseLicense::get_expiry_date()
S
70 3 6
EmailLog\Addon\License\BaseLicense::is_valid()
S
69 3 6
EmailLog\Addon\License\BaseLicense::get_version()
S
65 3 8
EmailLog\Addon\License\BundleLicense::get_addon_license_key()
S
66 3 9
EmailLog\Addon\License\BundleLicense::is_lifetime_license()
S
70 3 6
EmailLog\Addon\License\Licenser::__construct()
S
65 3 10
EmailLog\Addon\AddonList::get_inactive_addons()
S
66 3 9
EmailLog\Core\UI\Page\LogListPage::get_per_page()
S
64 3 9
EmailLog\Core\UI\Page\SettingsPage::register_page()
S
59 2 15
EmailLog\Addon\API\EDDUpdater::get_download_url()
S
64 3 9
EmailLog\Addon\License\Licenser::get_addon_license_key()
S
65 3 10
EmailLog\Addon\AddonList::render_addons()
S
68 3 8
EmailLog\Core\UI\Setting\CoreSetting::get_user_roles()
S
65 3 10
EmailLog\Core\AdminCapabilityGiver::add_cap_to_admin_cap_list()
S
64 3 10
EDD_SL_Plugin_Updater::http_request_args()
S
67 3 7
EmailLog\Core\EmailLog::add_loadie()
S
65 3 10
EmailLog\Core\UI\UILoader::load()
S
65 3 10
EmailLog\Core\UI\UILoader::initialize_components()
S
66 3 8
EmailLog\Addon\Upseller::upsell_more_fields_addon_in_log_list_page()
S
61 2 14
EmailLog\Core\Request\LogListAction::render_log_deleted_notice()
S
60 2 14
EmailLog\Core\UI\Component\EmailLogSystemInfo::print_bundle_license_details()
S
62 2 14
EmailLog\Addon\License\Licenser::activate_bundle_license()
S
60 2 13
load_email_log_addon()
S
61 2 12
EmailLog\Core\UI\Setting\Setting::build_fields()
S
61 2 12
EmailLog\Addon\Addon::print_invalid_actions()
S
63 2 11
EmailLog\Addon\License\Licenser::deactivate_bundle_license()
S
62 2 11
EmailLog\Core\UI\Page\LogListPage::load_view_logs_assets()
S
60 2 11
EmailLog\Core\UI\Setting\CoreSetting::initialize()
S
53 1 24
EmailLog\Core\UI\Page\LogListPage::register_page()
S
56 1 21
EmailLog\Core\DB\TableManager::get_create_table_query()
S
58 1 20
EmailLog\Core\UI\Component\DashboardWidget::render()
S
56 1 19
EmailLog\Core\UI\Setting\CoreSetting::render_remove_on_uninstall_settings()
S
57 1 19
EmailLog\Core\DB\TableManager::mark_log_as_failed()
S
58 1 19
EmailLog\Core\UI\Page\SettingsPage::render_page()
S
59 1 18
EmailLog\Core\UI\Setting\CoreSetting::render_hide_dashboard_widget_settings()
S
57 1 18
get_column_label_map()
S
56 1 17
EmailLog\Addon\AddonList::get_addon_by_name()
S
71 2 6
EmailLog\Addon\API\EDDAPI::__construct()
S
69 2 7
EmailLog\Addon\License\Licenser::add_updater()
S
73 2 5
EmailLog\Core\UI\Page\BasePage::get_screen()
S
71 2 6
EmailLog\Addon\AddonList::is_addon_active()
S
69 2 7
EmailLog\Addon\Addon::get_version()
S
69 2 7
EmailLog\Addon\AddonList::is_addon_installed()
S
69 2 7
EmailLog\Addon\API\EDDUpdater::init()
S
66 2 8
EmailLog\Addon\AddonList::parse_response()
S
71 2 6
EmailLog\Addon\Upseller::is_addon_active()
S
69 2 7
EmailLog\Addon\License\Licenser::get_addon_download_url()
S
71 2 6
EmailLog\Addon\AddonList::build_addon_list()
S
67 2 8
EmailLog\Core\UI\Setting\CoreSetting::verify_email_log_threshold()
S
70 2 6
EmailLog\Core\AdminCapabilityGiver::add_cap_to_admin()
S
69 2 7
EmailLog\Core\EmailLog::set_licenser()
S
74 2 5
EmailLog\Addon\Addon::render()
S
61 1 15
EmailLog\EmailLogAutoloader::add_file()
S
72 2 5
EmailLog\Core\UI\UILoader::is_show_dashboard_widget()
S
65 2 9
EmailLog\EmailLogAutoloader::register()
S
71 2 6
is_advanced_search_term()
S
69 2 7
EmailLog\Addon\Addon::__get()
S
72 2 6
EmailLog\EmailLogAutoloader::require_file()
S
70 2 7
EmailLog\Core\UI\Setting\CoreSetting::sanitize_allowed_user_roles()
S
71 2 6
EmailLog\Core\EmailLogger::on_email_failed()
S
67 2 8
EmailLog\Addon\DependencyEnforcer::deactivate_outdated_active_addons()
S
65 2 9
EmailLog\Core\UI\Page\LogListPage::save_screen_options()
S
70 2 7
EmailLog\Addon\Upseller::load()
S
66 2 8
EmailLog\Core\DB\TableManager::create_table_if_needed()
S
63 2 10
EDD_SL_Plugin_Updater::set_version_info_cache()
S
63 2 10
EmailLog\Core\DB\TableManager::update_table_if_needed()
S
65 2 9
EmailLog\Addon\Upseller::is_bundle_license_valid()
S
69 2 7
EmailLog\Addon\License\AddonLicense::get_license_key()
S
72 2 6
EmailLog\Core\DB\TableManager::create_table_for_new_blog()
S
70 2 7
EmailLog\Addon\License\BaseLicense::__construct()
S
72 2 6
EmailLog\Core\UI\Component\AdminUIEnhancer::__construct()
S
67 2 8
EmailLog\Core\UI\Component\AdminUIEnhancer::insert_addon_store_link()
S
68 2 7
get_column_label()
S
69 2 7
stringify()
S
71 2 6
get_display_format_for_log_time()
S
67 2 7
sanitize_email()
S
65 2 8
el_array_get()
S
78 2 3
EmailLog\Addon\Addon::get_download_url()
S
69 2 7
EmailLog\Addon\License\BaseLicense::get_renewal_link()
S
69 2 7
EmailLog\Core\UI\Component\EmailLogSystemInfo::print_email_log_license_details()
S
68 2 8
EmailLog\Core\UI\Component\EmailLogSystemInfo::get_bundle_license()
S
64 2 10
EmailLog\Addon\Addon::has_valid_bundle_license()
S
69 2 7
EmailLog\Core\UI\ListTable\LogListTable::extra_tablenav()
S
73 2 5
EmailLog\Core\UI\ListTable\LogListTable::get_columns()
S
64 2 9
EmailLog\Addon\License\BundleLicense::get_license_key()
S
72 2 6
Email_Log_Init::on_create_blog()
S
69 2 7
email_log_compatibility_notice()
S
64 1 14
EmailLog\Core\UI\Setting\CoreSetting::render_log_threshold_met_notice()
S
59 1 14
EmailLog\Core\UI\Page\AddonListPage::register_page()
S
62 1 12
EmailLog\Core\UI\ListTable\LogListTable::prepare_items()
S
61 1 12
EmailLog\Addon\AddonList::render_empty_list()
S
65 1 12
EmailLog\Core\UI\Page\LogListPage::load_page()
S
62 1 12
EmailLog\Core\UI\Page\SystemInfoPage::register_page()
S
62 1 12
EmailLog\Core\UI\ListTable\LogListTable::__construct()
S
64 1 10
EmailLog\Addon\Addon::has_valid_addon_license()
S
81 1 3
EmailLog\Core\EmailLog::is_plugin_api_overridden()
S
82 1 3
EmailLog\Addon\License\BaseLicense::store()
S
76 1 4
EmailLog\Core\UI\Page\SettingsPage::get_setting_sections()
S
80 1 3
EmailLog\Core\UI\Component\DashboardWidget::register()
S
70 1 7
EmailLog\Core\UI\Page\LogListPage::load()
S
71 1 5
Email_Log_List_Table::column_subject()
S
80 1 3
EmailLog\Core\DB\TableManager::get_log_table_name()
S
76 1 4
EmailLog\Addon\License\BundleLicense::get_renewal_link()
S
76 1 4
EmailLog\Core\UI\Component\AdminUIEnhancer::insert_view_logs_link()
S
69 1 6
EmailLog\Addon\Addon::get_install_url()
S
78 1 3
EmailLog\Addon\AddonUpdater::__construct()
S
81 1 3
EmailLog\Core\UI\Page\AddonListPage::enqueue_assets()
S
71 1 5
Email_Log_Init::on_delete_blog()
S
73 1 5
EmailLog\Core\UI\Component\EmailLogSystemInfo::load()
S
75 1 4
EmailLog\Core\DB\TableManager::delete_logs_older_than()
S
68 1 7
EmailLog\Addon\AddonList::get_api_url()
S
80 1 3
EmailLog\Core\EmailLog::get_store_url()
S
81 1 3
EmailLog\Core\EmailLog::get_version()
S
81 1 3
EmailLog\Addon\License\BaseLicense::get_option_name()
S
100 1 0
EmailLog\Core\UI\Setting\Setting::get_fields()
S
81 1 3
EmailLog\Core\UI\Setting\CoreSetting::allowed_user_roles_changed()
S
72 1 5
EmailLog\Addon\License\Licenser::load()
S
66 1 8
EmailLog\Core\Request\LogListAction::load()
S
69 1 6
EmailLog\Core\UI\ListTable\LogListTable::column_to_email()
S
75 1 4
EmailLog\Core\Request\OverridePluginAPI::load()
S
74 1 4
EmailLog\Core\UI\ListTable\LogListTable::column_cb()
S
70 1 7
Email_Log_List_Table::no_items()
S
80 1 3
Email_Log_List_Table::column_default()
S
79 1 3
EmailLog\Core\Request\LogListAction::delete_all_logs()
S
77 1 4
EmailLog\Core\UI\ListTable\LogListTable::column_subject()
S
80 1 3
EmailLog\Core\UI\Setting\Setting::initialize()
S
100 1 0
EDD_SL_Plugin_Updater::verify_ssl()
S
78 1 3
EmailLog\Core\DB\TableManager::delete_logs()
S
69 1 6
EmailLog\Addon\License\Licenser::is_addon_active()
S
80 1 3
EmailLog\Core\UI\ListTable\LogListTable::get_sortable_columns()
S
67 1 8
EmailLog\Core\UI\ListTable\LogListTable::get_bulk_actions()
S
67 1 8
EmailLog\Core\EmailLog::get_plugin_path()
S
80 1 3
EmailLog\Core\UI\Page\BasePage::render_page_footer()
S
81 1 3
EmailLog\Addon\License\Licenser::get_bundle_license()
S
82 1 3
EmailLog\Addon\License\BaseLicense::get_license_key()
S
82 1 3
EmailLog\Core\UI\Setting\Setting::render()
S
83 1 3
EmailLog\Addon\License\Licenser::get_bundle_license_expiry_date()
S
81 1 3
EmailLog\Core\UI\Setting\Setting::load()
S
79 1 3
EmailLog\Addon\AddonList::render()
S
73 1 8
EmailLog\Addon\API\EDDAPI::deactivate_license()
S
65 1 9
EmailLog\Addon\API\EDDUpdater::get_name()
S
82 1 3
Email_Header_Parser::parse_headers()
S
80 1 3
EmailLog\Core\UI\Page\SettingsPage::load()
S
75 1 4
EmailLog\Core\UI\Setting\CoreSetting::allowed_user_roles_added()
S
80 1 3
get_advanced_search_url()
S
75 1 4
EmailLog\Core\UI\Page\LogListPage::get_nonce_args()
S
74 1 5
EmailLog\Core\UI\Setting\Setting::get_value()
S
75 1 4
email_log_deactivate()
S
81 1 3
EmailLog\Core\UI\Page\BasePage::register_page()
S
100 1 0
EmailLog\Addon\API\EDDAPI::get_version()
S
65 1 9
EmailLog\Core\UI\Component\AdminUIEnhancer::hook_footer_links()
S
79 1 3
EmailLog\Core\UI\Setting\Setting::register()
S
77 1 4
EmailLog\Core\EmailLog::__construct()
S
68 1 7
Email_Log_List_Table::get_columns()
S
65 1 9
EmailLog\Core\DB\TableManager::load()
S
72 1 5
EmailLog\Core\UI\Setting\CoreSetting::register_threshold_met_admin_notice()
S
79 1 3
EmailLog\Addon\License\BaseLicense::clear()
S
73 1 5
EmailLog\Addon\EmailLogAddon::__construct()
S
74 1 5
EmailLog\Core\DB\TableManager::delete_all_logs()
S
72 1 5
EmailLog\Core\UI\ListTable\LogListTable::column_default()
S
79 1 3
EmailLog\Core\UI\Component\AdminUIEnhancer::add_credit_links()
S
64 1 9
get_user_defined_date_time_format()
S
78 1 3
EmailLog\Addon\AddonUpdater::load()
S
79 1 3
EmailLog\Core\UI\Page\LogListPage::get_table_manager()
S
76 1 4
EmailLog\Core\UI\Setting\CoreSetting::sanitize_remove_on_uninstall()
S
80 1 3
EmailLog\Addon\Addon::is_installed()
S
75 1 4
EmailLog\Core\DB\TableManager::validate_columns()
S
79 1 3
EmailLog\Core\Request\LogListAction::el_kses_allowed_html()
S
64 1 10
EmailLog\Core\UI\Page\SystemInfoPage::download_system_info()
S
82 1 3
EmailLog\Core\Request\LogListAction::get_table_manager()
S
76 1 4
EmailLog\Addon\Addon::is_active()
S
80 1 3
EmailLog\Addon\API\EDDAPI::activate_license()
S
65 1 9
Email_Log_List_Table::get_sortable_columns()
S
67 1 8
EmailLog\Addon\License\Licenser::is_bundle_license_valid()
S
81 1 3
EmailLog\Core\UI\Component\DashboardWidget::load()
S
79 1 3
Email_Log_List_Table::__construct()
S
69 1 7
EmailLog\Addon\Addon::parse_data()
S
62 1 10
EmailLog\Addon\License\BaseLicense::set_addon_name()
S
81 1 3
EmailLog\Addon\License\BaseLicense::get_addon_name()
S
82 1 3
Email_Log_List_Table::get_bulk_actions()
S
69 1 7
Email_Log_List_Table::column_cb()
S
70 1 7
EmailLog\Core\EmailLog::plugin_api_overridden()
S
81 1 3
EmailLog\Core\EmailLog::get_plugin_file()
S
82 1 3
EmailLog\Core\UI\UILoader::initialize_pages()
S
69 1 6
Email_Log_List_Table::column_to()
S
80 1 3
EmailLog\Addon\License\BundleLicense::get_option_name()
S
82 1 3
email_log()
S
79 1 4
EmailLog\Addon\DependencyEnforcer::load()
S
79 1 3
EmailLog\Addon\License\BaseLicense::set_license_key()
S
81 1 3
EmailLog\Core\UI\Page\SystemInfoPage::load()
S
70 1 6
EmailLog\Core\EmailLogger::load()
S
69 1 6
EmailLog\Core\AdminCapabilityGiver::load()
S
78 1 3
EmailLog\Core\UI\Setting\CoreSetting::load()
S
66 1 7
EmailLog\Addon\API\EDDUpdater::get_slug()
S
82 1 3
EmailLog\Core\Request\NonceChecker::load()
S
79 1 3
EmailLog\Core\DB\TableManager::get_logs_count()
S
73 1 5
EmailLog\Addon\License\BaseLicense::load()
S
79 1 3
EmailLog\Addon\License\AddonLicense::get_option_name()
S
79 1 3
get_success_icon()
S
78 1 5
get_failure_icon()
S
78 1 5
EmailLog\Core\UI\Component\EmailLogSystemInfo::get_default_config()
S
69 1 7
EmailLog\Core\EmailLog::get_licenser()
S
82 1 3
EmailLog\Core\UI\Setting\Setting::__construct()
S
68 1 7
EmailLog\Addon\EmailLogAddon::initialize()
S
100 1 0
get_column_label_by_db_column()
S
81 1 3
EmailLog\Addon\License\Licenser::get_addon_list()
S
82 1 3
EmailLog\Addon\Addon::get_addon_license_key()
S
81 1 3
EmailLog\Util\EmailHeaderParser::parse_headers()
S
80 1 3
EmailLog\Addon\License\Licenser::is_addon_installed()
S
80 1 3
EmailLog\Core\UI\Component\AdminUIEnhancer::load()
S
71 1 5
EmailLog\Addon\API\EDDUpdater::__construct()
S
72 1 5
EmailLog\Addon\Addon::get_activate_url()
S
78 1 3
EDD_SL_Plugin_Updater::init()
S
67 1 7
EmailLog\Core\UI\Page\BasePage::load()
S
79 1 3
EmailLog\Addon\Addon::get_download_button_js()
S
72 1 7
EmailLog\Core\DB\TableManager::insert_log()
S
73 1 5
EmailLog\Addon\Addon::get_license()
S
82 1 3
EmailLog\Core\UI\ListTable\LogListTable::no_items()
S
80 1 3
EmailLog\Core\UI\Setting\SettingSection::add_field()
S
80 1 3
EmailLog\Core\DB\TableManager::delete_table_from_deleted_blog()
S
76 1 4
EmailLog\Addon\AddonUpdater::set_addon_data()
S
74 1 5