Code Analysis: WP Mail Logging 1.10.2

Function Rating Maintainability Complexity Lines of code
WP_List_Table::print_column_headers()
B
41 16 47
No3x\WPML\WPML_Plugin::upgrade()
A
44 16 42
No3x\WPML\WPML_Hook_Remover::remove_class_hook()
A
45 15 42
WP_List_Table::pagination()
A
40 8 59
No3x\WPML\WPML_OptionsManager::_LogMenu()
A
41 7 62
No3x\WPML\WPML_Attachment::determine_mime_icon_class()
A
42 7 55
No3x\WPML\WPML_Email_Log_List::process_bulk_action()
A
53 9 23
No3x\WPML\WPML_OptionsManager::getOptionValueI18nString()
A
55 9 21
No3x\WPML\WPML_OptionsManager::LogMenu()
A
44 7 49
No3x\WPML\WPML_OptionsManager::roleToCapability()
A
56 8 19
WP_List_Table::months_dropdown()
A
48 7 32
WP_List_Table::set_pagination_args()
S
58 8 14
No3x\WPML\Settings\WPML_Redux_Framework_config::setSections()
S
34 1 116
WP_List_Table::search_box()
S
54 7 20
No3x\WPML\WPML_Init::init()
S
40 3 69
WP_List_Table::single_row_columns()
S
52 5 25
WP_List_Table::bulk_actions()
S
53 5 21
No3x\WPML\Renderer\WPML_MailRenderer::renderMail()
S
54 5 20
No3x\WPML\Renderer\Column\AttachmentsColumn::column_attachments_compat_152()
S
54 5 19
No3x\WPML\Renderer\Column\AttachmentsColumn::column_attachments()
S
54 5 19
WP_List_Table::get_column_info()
S
55 5 19
No3x\WPML\Settings\WPML_Redux_Framework_config::setArguments()
S
39 1 74
No3x\WPML\WPML_DI_Container::addActionsAndFilters()
S
60 5 14
WP_List_Table::row_actions()
S
58 5 14
No3x\WPML\WPML_LogRotation::init()
S
62 5 11
No3x\WPML\WPML_OptionsManager::getSetting()
S
62 5 11
No3x\WPML\WPML_LogRotation::limitNumberOfMailsByAmount()
S
54 4 23
WP_List_Table::ajax_response()
S
55 4 19
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::handle()
S
57 4 17
No3x\WPML\WPML_Utils::recursive_array_search()
S
64 5 9
WP_List_Table::current_action()
S
68 5 7
No3x\WPML\WPML_Utils::sanitize_expected_value()
S
64 5 10
WPML_Psr4AutoloaderClass::loadMappedFile()
S
59 4 14
No3x\WPML\WPML_LogRotation::limitNumberOfMailsByTime()
S
60 4 13
No3x\WPML\WPML_MailExtractor::extractAttachments()
S
60 4 13
No3x\WPML\Renderer\Format\JSONRenderer::render()
S
60 4 13
No3x\WPML\Renderer\Format\MailRendererFactory::factory()
S
61 4 13
No3x\WPML\WPML_PrivacyController::export()
S
51 3 27
No3x\WPML\Renderer\WPML_ColumnManager::getColumnRenderer()
S
63 4 12
No3x\WPML\WPML_PrivacyController::erase()
S
56 3 19
WP_List_Table::__construct()
S
56 3 18
WP_List_Table::view_switcher()
S
56 3 17
No3x\WPML\WPML_Attachment::fromRelPath()
S
58 3 16
No3x\WPML\WPML_OptionsManager::createSettingsMenu()
S
50 2 31
No3x\WPML\Renderer\Format\HTMLRenderer::outputIsHTMLItselfAndCantBeEncodedTherefore()
S
77 4 3
No3x\WPML\WPML_OptionsManager::getDateTimeFormatString()
S
62 4 10
WP_List_Table::get_pagenum()
S
68 4 6
No3x\WPML\WPML_Email_Log_List::prepare_items()
S
50 2 29
No3x\WPML\WPML_InstallIndicator::isInstalled()
S
59 3 14
WPML_Psr4AutoloaderClass::loadClass()
S
60 3 13
No3x\WPML\Settings\WPML_Redux_Framework_config::initSettings()
S
61 3 12
WPML_Psr4AutoloaderClass::addNamespace()
S
61 3 12
WP_List_Table::views()
S
60 3 12
No3x\WPML\Settings\WPML_Redux_Framework_config::__construct()
S
62 3 11
WP_List_Table::display()
S
55 2 24
WP_List_Table::display_tablenav()
S
59 2 18
No3x\WPML\Renderer\Column\ErrorColumn::render()
S
66 3 8
No3x\WPML\WPML_MailExtractor::extractMessage()
S
67 3 8
No3x\WPML\Renderer\Format\HeadingsRenderer::render()
S
65 3 9
No3x\WPML\Renderer\Format\RawRenderer::renderColumn()
S
66 3 8
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::checkAndGetFormat()
S
67 3 7
WP_List_Table::get_pagination_arg()
S
71 3 6
No3x\WPML\WPML_OptionsManager::getOption()
S
67 3 8
WP_List_Table::comments_bubble()
S
64 3 8
WP_List_Table::get_items_per_page()
S
69 3 6
No3x\WPML\WPML_OptionsManager::deleteSavedOptions()
S
65 3 9
No3x\WPML\Settings\WPML_Redux_Framework_config::wordpress_default_format()
S
67 3 7
No3x\WPML\WPML_OptionsManager::getRoleOption()
S
68 3 7
No3x\WPML\WPML_Plugin::log_email_failed()
S
68 3 7
No3x\WPML\Renderer\Column\AttachmentsColumn::render()
S
66 3 8
No3x\WPML\WPML_OptionsManager::load_assets()
S
59 2 12
No3x\WPML\WPML_OptionsManager::LogSubMenuAbout()
S
57 1 27
No3x\WPML\WPML_Email_Resender::resendMail()
S
57 1 18
No3x\WPML\WPML_Plugin::installDatabaseTables()
S
61 1 17
No3x\WPML\WPML_Attachment::toRelPath()
S
63 2 10
No3x\WPML\Settings\WPML_Redux_Framework_config::remove_demo()
S
66 2 9
WPML_PhpVersionCheck()
S
68 2 7
No3x\WPML\WPML_OptionsManager::save_screen_options()
S
76 2 4
No3x\WPML\WPML_Email_Log_List::sanitize_order()
S
76 2 3
No3x\WPML\WPML_OptionsManager::getMySqlVersion()
S
67 2 8
No3x\WPML\WPML_OptionsManager::getEmailDomain()
S
68 2 7
No3x\WPML\WPML_Plugin::log_email()
S
64 2 9
No3x\WPML\WPML_PrivacyController::register_privacy_policy_content()
S
64 2 10
No3x\WPML\WPML_Attachment::getFS()
S
71 2 6
No3x\WPML\WPML_LifeCycle::registerPluginActionLinks()
S
66 2 7
No3x\WPML\WPML_Utils::determine_fa_icon()
S
76 2 3
No3x\WPML\WPML_LogRotation::schedule()
S
73 2 5
No3x\WPML\WPML_OptionsManager::getClassnameWithoutNamespace()
S
68 2 7
WPML_Psr4AutoloaderClass::requireFile()
S
70 2 7
No3x\WPML\Renderer\Column\ErrorColumn::error_column()
S
71 2 5
No3x\WPML\Renderer\Column\GenericColumn::render()
S
70 2 6
No3x\WPML\WPML_Init::getInstance()
S
72 2 6
No3x\WPML\Renderer\Format\HTMLRenderer::renderColumn()
S
66 2 8
No3x\WPML\WPML_MailExtractor::extractHeader()
S
74 2 4
No3x\WPML\WPML_Init::getService()
S
69 2 6
No3x\WPML\WPML_MailExtractor::convertMultipartsToString()
S
66 2 9
No3x\WPML\WPML_Attachment::getIconClass()
S
71 2 6
No3x\WPML\WPML_MailExtractor::joinMultiParts()
S
79 2 3
No3x\WPML\Renderer\WPML_MailRenderer::render()
S
68 2 7
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::__construct()
S
71 2 6
No3x\WPML\WPML_InstallIndicator::getPluginHeaderValue()
S
64 2 9
No3x\WPML\WPML_MessageSanitizer::swapCommentsInStringWithMapping()
S
72 2 5
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::checkNonce()
S
69 2 6
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::checkAndGetId()
S
69 2 6
WP_List_Table::single_row()
S
68 2 7
No3x\WPML\WPML_Email_Log_List::get_columns()
S
64 2 9
No3x\WPML\WPML_OptionsManager::prefix()
S
68 2 7
No3x\WPML\WPML_Email_Log_List::sanitize_orderby()
S
76 2 3
WP_List_Table::display_rows()
S
77 2 4
No3x\WPML\WPML_OptionsManager::unPrefix()
S
68 2 7
No3x\WPML\WPML_LifeCycle::uninstall()
S
67 2 8
WP_List_Table::display_rows_or_placeholder()
S
64 2 10
No3x\WPML\WPML_OptionsManager::isUserRoleEqualOrBetterThan()
S
69 2 7
No3x\WPML\WPML_OptionsManager::canUserDoRoleOption()
S
69 2 7
No3x\WPML\Renderer\WPML_ColumnManager::__construct()
S
59 1 14
No3x\WPML\WPML_Email_Log_List::get_sortable_columns()
S
64 1 11
No3x\WPML\WPML_MessageSanitizer::recoverComments()
S
80 1 3
No3x\WPML\Model\WPML_Mail::get_primary_key()
S
81 1 3
No3x\WPML\WPML_Attachment::getUrl()
S
82 1 3
WP_List_Table::extra_tablenav()
S
100 1 1
No3x\WPML\WPML_InstallIndicator::isVersionLessThanEqual()
S
78 1 3
WP_List_Table::get_sortable_columns()
S
83 1 3
No3x\WPML\WPML_OptionsManager::deleteOption()
S
76 1 4
No3x\WPML\WPML_InstallIndicator::isVersionLessThan()
S
78 1 3
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::setPluginMeta()
S
80 1 3
No3x\WPML\Renderer\Format\HeadingsRenderer::renderColumn()
S
100 1 0
No3x\WPML\Renderer\WPML_MailRenderer::getSupportedFormats()
S
82 1 3
No3x\WPML\WPML_LifeCycle::addSettingsSubMenuPageToSettingsMenu()
S
66 1 9
WP_List_Table::get_table_classes()
S
79 1 3
WP_List_Table::ajax_user_can()
S
82 1 3
No3x\WPML\WPML_OptionsManager::addOption()
S
75 1 4
No3x\WPML\WPML_LifeCycle::activate()
S
82 1 3
WP_List_Table::prepare_items()
S
82 1 3
No3x\WPML\WPML_MessageSanitizer::stripEvilCode()
S
65 1 9
No3x\WPML\WPML_LifeCycle::deactivate()
S
82 1 3
WP_List_Table::_js_vars()
S
64 1 10
No3x\WPML\WPML_LifeCycle::initOptions()
S
91 1 2
No3x\WPML\WPML_DI_Container::log()
S
75 1 4
No3x\WPML\WPML_Plugin::__construct()
S
77 1 4
No3x\WPML\WPML_Plugin::getTablename()
S
75 1 4
No3x\WPML\WPML_Plugin::getPluginDisplayName()
S
82 1 3
No3x\WPML\WPML_Plugin::getMainPluginFileName()
S
82 1 3
No3x\WPML\WPML_Plugin::getVersionSaved()
S
80 1 3
No3x\WPML\WPML_LifeCycle::unInstallDatabaseTables()
S
91 1 2
No3x\WPML\WPML_Plugin::unInstallDatabaseTables()
S
70 1 6
No3x\WPML\WPML_LifeCycle::otherInstall()
S
91 1 2
No3x\WPML\WPML_Plugin::addActionsAndFilters()
S
62 1 10
No3x\WPML\WPML_LifeCycle::otherUninstall()
S
91 1 2
No3x\WPML\WPML_Utils::generate_attachment_icon()
S
79 1 3
No3x\WPML\WPML_OptionsManager::getOptionNames()
S
80 1 3
No3x\WPML\Model\WPML_Mail::get_searchable_fields()
S
77 1 3
No3x\WPML\WPML_OptionsManager::deleteVersionOption()
S
80 1 3
No3x\WPML\Model\WPML_Mail::get_table()
S
76 1 4
No3x\WPML\WPML_DI_Container::hasMethod()
S
80 1 3
No3x\WPML\Model\WPML_Mail::__construct()
S
80 1 3
No3x\WPML\WPML_OptionsManager::initOptions()
S
91 1 2
No3x\WPML\Renderer\Column\GenericColumn::__construct()
S
81 1 3
No3x\WPML\WPML_Email_Log_List::no_items()
S
77 1 4
No3x\WPML\WPML_LifeCycle::getSettingsSlug()
S
79 1 3
No3x\WPML\WPML_MailExtractor::__construct()
S
91 1 2
No3x\WPML\WPML_LifeCycle::installDatabaseTables()
S
91 1 2
No3x\WPML\WPML_MessageSanitizer::sanitize()
S
70 1 7
No3x\WPML\Renderer\Format\HeadingsRenderer::getTranslation()
S
80 1 3
No3x\WPML\WPML_Attachment::getPath()
S
82 1 3
No3x\WPML\Model\DefaultMailService::find_one()
S
80 1 3
No3x\WPML\WPML_MailExtractor::joinArrayWithCommaAndNewLine()
S
79 1 3
No3x\WPML\Renderer\Exception\ColumnDoesntExistException::get_class()
S
81 1 3
No3x\WPML\WPML_OptionsManager::getPluginSlug()
S
80 1 3
No3x\WPML\WPML_LifeCycle::addSettingsSubMenuPage()
S
82 1 3
No3x\WPML\WPML_Email_Log_List::get_bulk_actions()
S
70 1 7
No3x\WPML\Renderer\WPML_ColumnManager::getColumnNames()
S
80 1 3
No3x\WPML\WPML_LifeCycle::disableReduxFunctionality()
S
73 1 5
No3x\WPML\WPML_MessageSanitizer::saveComments()
S
81 1 3
No3x\WPML\WPML_InstallIndicator::setVersionSaved()
S
79 1 3
No3x\WPML\Renderer\Column\TimestampColumn::render()
S
74 1 4
No3x\WPML\WPML_LifeCycle::requireExtraPluginFiles()
S
76 1 4
WP_List_Table::get_bulk_actions()
S
83 1 3
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::isAjaxTestCondition()
S
79 1 3
No3x\WPML\WPML_DI_Container::implementsInterface()
S
80 1 3
No3x\WPML\WPML_LogRotation::addActionsAndFilters()
S
71 1 5
No3x\WPML\Renderer\WPML_ColumnManager::getTranslationForColumn()
S
80 1 3
No3x\WPML\WPML_LogRotation::__construct()
S
82 1 3
No3x\WPML\WPML_Email_Log_List::column_default()
S
78 1 3
No3x\WPML\WPML_InstallIndicator::isSavedVersionLessThanEqual()
S
79 1 3
No3x\WPML\WPML_PrivacyController::register_eraser()
S
68 1 7
No3x\WPML\FS\Filesystem::mime_content_type()
S
81 1 3
No3x\WPML\WPML_Attachment::setFS()
S
80 1 3
No3x\WPML\WPML_MailExtractor::splitAtComma()
S
75 1 4
No3x\WPML\WPML_Email_Log_List::get_hidden_columns()
S
74 1 6
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::getInstance()
S
80 1 3
No3x\WPML\Renderer\Format\HeadingsRenderer::buildOutputForThisColumn()
S
71 1 5
No3x\WPML\WPML_LifeCycle::getAjaxUrl()
S
79 1 3
No3x\WPML\Renderer\Column\EscapingColumnDecorator::__construct()
S
81 1 3
No3x\WPML\WPML_PrivacyController::addActionsAndFilters()
S
69 1 6
No3x\WPML\Renderer\Column\EscapingColumnDecorator::render()
S
75 1 4
No3x\WPML\Renderer\WPML_MailRenderer::isHtmlMail()
S
78 1 3
No3x\WPML\Renderer\WPML_MailRenderer::render_mail()
S
76 1 4
No3x\WPML\WPML_LifeCycle::install()
S
73 1 6
WP_List_Table::get_column_count()
S
72 1 5
No3x\WPML\Renderer\Exception\ColumnDoesntExistException::__construct()
S
79 1 3
No3x\WPML\WPML_LifeCycle::upgrade()
S
82 1 3
No3x\WPML\WPML_PrivacyController::queryMails()
S
67 1 8
No3x\WPML\WPML_Attachment::isGone()
S
82 1 3
No3x\WPML\WPML_PrivacyController::register_exporter()
S
68 1 7
No3x\WPML\WPML_Email_Log_List::__construct()
S
77 1 4
No3x\WPML\WPML_InstallIndicator::getVersionSaved()
S
80 1 3
No3x\WPML\FS\Filesystem::is_file()
S
81 1 3
No3x\WPML\WPML_PrivacyController::suspendLogging()
S
69 1 8
WPML_noticePhpVersionWrong()
S
68 1 7
WP_List_Table::get_columns()
S
82 1 3
No3x\WPML\WPML_MailExtractor::extract()
S
65 1 9
No3x\WPML\WPML_PrivacyController::__construct()
S
82 1 3
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::addActionsAndFilters()
S
79 1 3
No3x\WPML\Renderer\Format\HeadingsRenderer::shouldRenderThisColumn()
S
79 1 3
No3x\WPML\WPML_MailExtractor::extractReceiver()
S
80 1 3
No3x\WPML\Renderer\WPML_ColumnManager::getColumns()
S
82 1 3
No3x\WPML\Renderer\Column\ErrorColumn::__construct()
S
80 1 3
No3x\WPML\WPML_InstallIndicator::saveInstalledVersion()
S
81 1 3
WPML_Psr4AutoloaderClass::register()
S
80 1 3
No3x\WPML\Renderer\Column\SanitizedColumnDecorator::render()
S
75 1 4
No3x\WPML\WPML_OptionsManager::getPluginDisplayName()
S
80 1 3
No3x\WPML\Renderer\Format\BaseRenderer::__construct()
S
81 1 3
No3x\WPML\WPML_InstallIndicator::isInstalledCodeAnUpgrade()
S
80 1 3
WP_List_Table::no_items()
S
82 1 3
No3x\WPML\WPML_OptionsManager::getOptionNamePrefix()
S
80 1 3
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::get_ajax_data()
S
71 1 6
No3x\WPML\Renderer\Format\BaseRenderer::getHiddenColumns()
S
73 1 6
No3x\WPML\Model\DefaultMailService::__construct()
S
91 1 2
No3x\WPML\WPML_Plugin::getClass()
S
81 1 3
No3x\WPML\WPML_Email_Log_List::init()
S
67 1 8
No3x\WPML\WPML_Email_Log_List::addActionsAndFilters()
S
79 1 3
No3x\WPML\Renderer\WPML_MailRenderer::__construct()
S
76 1 4
No3x\WPML\WPML_Init::__construct()
S
80 1 3
No3x\WPML\Renderer\WPML_MailRenderer_AJAX_Handler::setMailRenderer()
S
80 1 3
No3x\WPML\WPML_LifeCycle::addActionsAndFilters()
S
91 1 2
No3x\WPML\WPML_InstallIndicator::getPluginDir()
S
80 1 3
No3x\WPML\WPML_OptionsManager::updateOption()
S
75 1 4
No3x\WPML\WPML_Attachment::fromAbsPath()
S
72 1 5
No3x\WPML\WPML_Email_Log_List::column_cb()
S
71 1 6
No3x\WPML\WPML_Email_Log_List::resend_email()
S
82 1 3
WPML_i18n_init()
S
74 1 4
No3x\WPML\WPML_PrivacyController::isDone()
S
79 1 3
No3x\WPML\WPML_InstallIndicator::getVersion()
S
80 1 3
No3x\WPML\WPML_InstallIndicator::isSavedVersionLessThan()
S
79 1 3
No3x\WPML\WPML_LifeCycle::addSettingsSubMenuPageToPluginsMenu()
S
65 1 10
WP_List_Table::has_items()
S
80 1 3
No3x\WPML\Renderer\Column\SanitizedColumnDecorator::__construct()
S
76 1 4
No3x\WPML\WPML_InstallIndicator::getMainPluginFileName()
S
79 1 3
No3x\WPML\WPML_OptionsManager::getOptionMetaData()
S
82 1 3
WP_List_Table::get_views()
S
83 1 3
No3x\WPML\WPML_Email_Dispatcher::dispatch()
S
78 1 3
No3x\WPML\WPML_Email_Log_List::column_message()
S
72 1 5
No3x\WPML\WPML_LogRotation::LogRotationSchedule()
S
78 1 4
No3x\WPML\WPML_Attachment::getFileName()
S
80 1 3
No3x\WPML\WPML_Attachment::__construct()
S
74 1 5
No3x\WPML\WPML_LogRotation::unschedule()
S
82 1 3
No3x\WPML\WPML_MessageSanitizer::__construct()
S
66 1 8
No3x\WPML\WPML_LifeCycle::prefixTableName()
S
75 1 4
No3x\WPML\Renderer\Column\AttachmentsColumn::__construct()
S
80 1 3
No3x\WPML\WPML_Email_Resender::__construct()
S
81 1 3
No3x\WPML\Renderer\Format\BaseRenderer::render()
S
100 1 0
No3x\WPML\WPML_Init::getClosure()
S
76 1 5
No3x\WPML\Renderer\Column\TimestampColumn::__construct()
S
80 1 3