Code Analysis: YaySMTP - Simple WP SMTP Mail 2.4

Function Rating Maintainability Complexity Lines of code
YaySMTP\Controller\SendgridController::__construct()
D
21
56 167
YaySMTP\ImportSettingsOtherPlugins::importSettingsOfWpMailSmtp()
D
26
52 151
YaySMTP\Controller\SendinblueController::__construct()
D
23
52 150
YaySMTP\Controller\OutlookMsController::__construct()
D
24
47 155
YaySMTP\Controller\SMTPcomController::__construct()
D
25
44 146
YaySMTP\Controller\MailjetController::__construct()
D
27
42 126
YaySMTP\Controller\SparkPostController::__construct()
D
27
41 135
YaySMTP\Controller\MailgunController::__construct()
D
28
42 120
YaySMTP\ImportSettingsOtherPlugins::importSettingsOfPostSMTP()
D
31 41 99
YaySMTP\Controller\PepiPostController::__construct()
D
28
39 124
YaySMTP\Controller\PostmarkController::__construct()
D
29 39 110
YaySMTP\Controller\MandrillController::__construct()
D
29
37 120
YaySMTP\Functions::getListEmailLogs()
D
28
37 111
YaySMTP\ImportSettingsOtherPlugins::importSettingsOfMailBank()
D
35 33 81
YaySMTP\Controller\SendPulseController::__construct()
C
32 30 98
YaySMTP\Controller\ZohoController::send()
C
28
25 129
YaySMTP\PhpMailerExtends::send()
C
31 22 129
YaySMTP\Controller\GmailController::send()
C
32 23 106
YaySMTP\PluginCore::doSmtperInit()
C
39 24 61
YaySMTP\Functions::saveSettings()
B
35 22 83
YaySMTP\Functions::saveAdditionSettings()
B
37 21 76
YaySMTP\Functions::setYaySmtpEmailLogSetting()
B
38 21 65
YaySMTP\Functions::getEmailChart()
B
33 18 96
YaySMTP\Controller\MandrillController::send()
B
36 17 85
YaySMTP\Controller\MailgunController::send()
B
35 17 81
YaySMTP\Controller\PepiPostController::send()
B
36 17 79
YaySMTP\Controller\SendgridController::send()
B
36 17 78
YaySMTP\Controller\OutlookMsController::send()
B
36 16 77
YaySMTP\Controller\SMTPcomController::send()
B
36 16 76
YaySMTP\Controller\SendinblueController::send()
B
37 16 74
YaySMTP\Controller\SparkPostController::send()
B
36 15 78
YaySMTP\Helper\Utils::isFullSettingsFallbackSmtp()
B
44 17 47
YaySMTP\Controller\SendPulseController::send()
B
36 14 82
YaySMTP\Controller\PostmarkController::send()
A
37 14 74
YaySMTP\Controller\MailjetController::send()
A
37 14 74
YaySMTP\Helper\Utils::getMailReportGroupByData()
A
40 12 66
YaySMTP\Helper\Utils::insertEmailLogs()
A
46 13 34
YaySMTP\ImportSettingsOtherPlugins::importSettingsOfSmtpMailer()
A
46 12 40
YaySMTP\ImportSettingsOtherPlugins::importSettingsOfWpSmtp()
A
46 12 40
YaySMTP\ImportSettingsOtherPlugins::importSettingsOfEasyWpSmtp()
A
47 12 38
YaySMTP\Helper\Utils::getChartData()
A
38 9 83
YaySMTP\Functions::getEmailLog()
A
41 11 51
YaySMTP\Controller\AmazonSESController::send()
A
41 10 60
YaySMTP\Helper\Utils::conditionUseFallbackSmtp()
A
46 11 40
YaySMTP\Controller\ZohoServiceVendController::processAuthorizeServive()
A
43 10 50
YaySMTP\Helper\Utils::getNameOfPlugin()
A
49 11 28
YaySMTP\Helper\Utils::getMailBankSettingsTable()
A
44 9 51
YaySMTP\Controller\GmailServiceVendController::processAuthorizeServive()
A
46 9 41
YaySMTP\Functions::sendTestMail()
A
44 8 46
YaySMTP\ImportSettingsOtherPlugins::importSmtpSettings()
A
50 9 29
YaySMTP\Functions::sendTestMailFallback()
A
45 8 44
YaySMTP\Helper\Utils::getYaysmtpImportPlugins()
A
42 7 58
YaySMTP\Page\Settings::enqueueAdminScripts()
A
45 8 38
YaySMTP\Helper\Utils::saniValArray()
A
55 9 19
YaySMTP\Schedule::doHooks()
A
48 8 33
YaySMTP\Controller\GmailServiceVendController::getSetting()
A
57 9 17
YaySMTP\Controller\GmailServiceVendController::tokenEmpty()
A
63 10 9
YaySMTP\Controller\GmailServiceVendController::clientIDSerect()
A
63 10 9
YaySMTP\Functions::deleteEmailLogs()
A
49 8 30
YaySMTP\Helper\Utils::isMailerComplete()
A
55 8 20
YaySMTP\Controller\SparkPostController::getApiKey()
A
58 8 16
YaySMTP\Controller\SparkPostController::getRegion()
A
58 8 16
YaySMTP\Controller\AmazonWebServicesController::get_region()
A
58 8 16
YaySMTP\Controller\MailgunController::getDomain()
A
58 8 16
YaySMTP\Controller\AmazonWebServicesController::get_access_key_id()
A
58 8 16
YaySMTP\Controller\MailgunController::getRegion()
A
58 8 16
YaySMTP\Controller\AmazonWebServicesController::get_secret_access_key()
A
58 8 16
YaySMTP\Controller\SMTPcomController::getChannel()
A
58 8 16
YaySMTP\Controller\MailjetController::getApiKey()
A
58 8 16
YaySMTP\Controller\SendPulseController::getApiKey()
A
58 8 16
YaySMTP\Controller\SendPulseController::getSecretKey()
A
58 8 16
YaySMTP\Controller\SendPulseController::getAccessTokenDB()
A
58 8 16
YaySMTP\Controller\MailjetController::getSecretKey()
A
58 8 16
YaySMTP\Controller\SendPulseController::getCreatedTimes()
A
58 8 16
YaySMTP\Controller\MailgunController::getApiKey()
A
58 8 16
YaySMTP\Controller\SMTPcomController::getApiKey()
A
58 8 16
YaySMTP\Helper\Utils::getRoot()
S
54 7 23
YaySMTP\Helper\Utils::getYaySmtpSetting()
S
57 7 16
YaySMTP\Controller\GmailServiceVendController::saveAccessTokenExpire()
S
57 6 18
YaySMTP\Helper\Utils::setYaySmtpSettingFallback()
S
56 6 17
YaySMTP\Functions::gmailRemoveAuthFallback()
S
57 6 16
YaySMTP\Helper\Utils::percentClass()
S
55 5 20
YaySMTP\Helper\Utils::getNameOfTheme()
S
54 5 20
YaySMTP\Controller\SendPulseController::getAccessToken()
S
49 4 31
YaySMTP\PluginCore::actionForSmtpsHasAuth()
S
59 5 15
YaySMTP\Controller\ZohoServiceVendController::isExpired()
S
62 6 10
YaySMTP\Functions::outlookmsRemoveAuth()
S
60 5 13
YaySMTP\Helper\Utils::setFromFallback()
S
59 5 13
YaySMTP\Functions::yohoRemoveAuth()
S
60 5 13
YaySMTP\Functions::gmailRemoveAuth()
S
60 5 13
YaySMTP\PhpMailerExtends::getObject()
S
60 5 12
YaySMTP\PhpMailerExtends::getEmailTo()
S
62 5 12
YaySMTP\Controller\OutlookMsServicesController::processAuthorizeServive()
S
62 5 12
YaySMTP\Helper\Utils::setYaySmtpSetting()
S
62 5 11
YaySMTP\Helper\Utils::getMailReportData()
S
47 3 41
YaySMTP\Helper\Utils::getNameOfWPSource()
S
61 5 11
YaySMTP\Controller\AmazonWebServicesController::getClient()
S
52 4 25
YaySMTP\Controller\AmazonSESController::__construct()
S
55 4 20
YaySMTP\Controller\GmailServiceVendController::getclientWebService()
S
50 3 34
YaySMTP\Helper\LogErrors::writeLog()
S
55 4 18
YaySMTP\Controller\MandrillController::getApiKey()
S
65 5 9
YaySMTP\Helper\Utils::getFullUrl()
S
65 5 7
YaySMTP\Controller\OutlookMsController::getAccessToken()
S
63 5 10
YaySMTP\Controller\SendgridController::getApiKey()
S
65 5 9
YaySMTP\Controller\OutlookMsController::getUserInf()
S
63 5 10
YaySMTP\Controller\SendinblueController::getApiKey()
S
65 5 9
YaySMTP\Controller\OutlookMsServicesController::clientIDSerect()
S
70 5 5
YaySMTP\Controller\ZohoServiceVendController::clientIDSerect()
S
70 5 5
YaySMTP\Controller\OutlookMsServicesController::tokenEmpty()
S
70 5 5
YaySMTP\Helper\Utils::getFallbackHasSettingMail()
S
63 5 10
YaySMTP\Controller\PepiPostController::getApiKey()
S
65 5 9
YaySMTP\Helper\Utils::isTestMailFallback()
S
63 5 10
YaySMTP\Helper\Installer::modifyYaySMTPEmailLogs()
S
59 4 14
YaySMTP\PluginCore::getFromAddress()
S
63 4 11
YaySMTP\Schedule::yaysmtp_datetime_custom_cron_schedule()
S
61 4 11
YaySMTP\Helper\Utils::getMainSiteMultisiteSetting()
S
62 4 11
YaySMTP\Helper\Utils::getMultisiteSetting()
S
62 4 11
YaySMTP\Helper\LogErrors::getSystemStats()
S
52 3 22
YaySmtpDeactiveNotice()
S
60 3 16
YaySMTP\Helper\Utils::getCurrentFromName()
S
63 4 10
YaySMTP\Helper\Utils::getCurrentMailerFallback()
S
64 4 10
YaySMTP\Controller\ZohoServiceVendController::tokenEmpty()
S
71 4 5
YaySMTP\Controller\ZohoServiceVendController::getSetting()
S
66 4 8
YaySMTP\Helper\Utils::getForceFromName()
S
63 4 10
YaySMTP\Controller\OutlookMsServicesController::getSetting()
S
66 4 8
YaySMTP\Helper\Utils::getCurrentFromEmailFallback()
S
64 4 10
YaySMTP\Helper\Utils::getCurrentFromNameFallback()
S
63 4 10
YaySMTP\Helper\Utils::getForceFromEmail()
S
63 4 10
YaySMTP\Functions::deleteAllEmailLogs()
S
60 3 15
YaySMTP\ImportSettingsOtherPlugins::getFlagImportSettsSmtpPopup()
S
64 4 10
YaySMTP\Helper\Utils::getCurrentMailer()
S
64 4 10
YaySMTP\Controller\PostmarkController::getApiKey()
S
65 4 9
YaySMTP\Helper\Utils::getCurrentFromEmail()
S
64 4 10
YaySMTP\Helper\Utils::isJson()
S
76 4 3
YaySMTP\Helper\Utils::getDisableEmailsDeliverySett()
S
64 4 10
YaySMTP\Controller\GmailServiceVendController::googleClientObj()
S
52 2 29
YaySMTP\Controller\OutlookMsServicesController::saveAccessTokenExpire()
S
60 3 14
YaySMTP\Controller\ZohoController::__construct()
S
60 3 14
YaySMTP\Controller\OutlookMsServicesController::saveAccessTokenWithCode()
S
60 3 13
YaySMTP\Controller\OutlookMsServicesController::getclientWebService()
S
62 3 13
YaySMTP\Controller\GmailServiceVendController::setUserInf()
S
60 3 13
YaySMTP\Helper\Utils::decrypt()
S
60 3 12
YaySMTP\Helper\Installer::createYaySMTPEmailLogs()
S
57 2 21
YaySMTP\Functions::doHooks()
S
55 2 19
YaySMTP\Controller\ZohoController::get_account_id()
S
56 2 18
YaySMTP\Controller\ZohoServiceVendController::get_tokens()
S
56 2 18
YaySMTP\Helper\Utils::adminUrl()
S
67 3 7
YaySMTP\ImportSettingsOtherPlugins::popupImportSmtpSettings()
S
68 3 7
YaySMTP\Controller\SendPulseController::isExpiredAccessToken()
S
64 3 10
YaySMTP\Schedule::hasMailReportSett()
S
67 3 8
YaySMTP\PluginCore::getFromName()
S
67 3 8
YaySMTP\Controller\ZohoController::setUrl()
S
68 3 7
YaySMTP\Helper\Utils::getYaySmtpEmailLogSetting()
S
67 3 8
YaySMTP\Helper\Utils::stringThreeDot()
S
64 3 10
YaySMTP\Controller\ZohoServiceVendController::isDiffInfo()
S
69 3 6
YaySMTP\Helper\Utils::setValueMailerSettingFallback()
S
67 3 7
YaySMTP\Helper\Utils::getDeleteDatetimeSetting()
S
71 3 5
YaySMTP\Controller\GmailServiceVendController::saveAccessTokenWithCode()
S
64 3 9
YaySMTP\Schedule::getMailReportSett()
S
67 3 8
YaySMTP\Controller\OutlookMsServicesController::setUserInf()
S
59 2 14
YaySMTP\Controller\ZohoServiceVendController::get_auth_info()
S
61 2 13
YaySMTP\ImportSettingsOtherPlugins::popupSmtpNotices()
S
55 1 21
YaySMTP\Helper\Utils::getAllMailerSetting()
S
54 1 20
YaySMTP\PhpMailerExtends::getSMTPerObj()
S
54 1 20
YaySMTP\Helper\Utils::getAllMailer()
S
55 1 20
YaySMTP\Dashboard::getInstance()
S
70 2 7
YaySMTP\Helper\LogErrors::getMessageException()
S
64 2 9
YaySMTP\Controller\GmailServiceVendController::__construct()
S
70 2 6
YaySMTP\Page\Settings::doHooks()
S
64 2 9
YaySMTP\Dashboard::doHooks()
S
73 2 5
YaySMTP\Plugin::doHooks()
S
64 2 10
YaySMTP\Controller\GmailServiceVendController::saveRefToken()
S
68 2 7
YaySMTP\Helper\LogErrors::clearLog()
S
70 2 6
YaySMTP\Helper\Utils::getParamUrl()
S
65 2 9
YaySMTP\Functions::getInstance()
S
70 2 7
YaySMTP\ImportSettingsOtherPlugins::closePopupImportSmtpSettings()
S
65 2 9
YaySMTP\Controller\GmailServiceVendController::saveAuthorizeCode()
S
68 2 7
YaySMTP\PluginCore::getDefaultMailFrom()
S
66 2 8
YaySMTP\Helper\Utils::getAdminPageUrl()
S
65 2 10
YaySMTP\Schedule::getInstance()
S
70 2 7
YaySMTP\Controller\ZohoServiceVendController::__construct()
S
74 2 5
YaySMTP\ImportSettingsOtherPlugins::getInstance()
S
70 2 7
YaySMTP\Controller\OutlookMsServicesController::__construct()
S
74 2 5
YaySMTP\Helper\Utils::checkNonce()
S
69 2 6
YaySMTP\Controller\AmazonSESController::prepare()
S
66 2 9
YaySMTP\Page\Settings::getInstance()
S
70 2 7
YaySMTP\Helper\LogErrors::setErr()
S
68 2 6
YaySMTP\PluginCore::getInstance()
S
70 2 7
YaySMTP\Helper\Utils::getTemplatePart()
S
64 2 9
YaySMTP\Controller\GmailServiceVendController::saveAccessToken()
S
68 2 7
YaySMTP\Controller\SendPulseController::saveAccessToken()
S
69 2 7
YaySMTP\Page\Settings::getPageId()
S
71 2 6
YaySMTP\Plugin::getInstance()
S
70 2 7
YaySMTP\Helper\Installer::getInstance()
S
71 2 6
YaySMTP\Helper\Utils::setYaySmtpEmailLogSetting()
S
68 2 7
YaySMTP\Helper\LogErrors::setErrFallback()
S
68 2 6
YaySMTP\Controller\OutlookMsServicesController::msClientObj()
S
61 1 13
YaySMTP\Schedule::__construct()
S
98 1 1
YaySMTP\Helper\Utils::saniVal()
S
80 1 3
YaySMTP\Page\Settings::settingsPage()
S
80 1 3
YaySMTP\Controller\OutlookMsServicesController::saveAuthorizeCode()
S
79 1 3
YaySMTP\Plugin::__construct()
S
98 1 1
YaySMTP\Helper\LogErrors::getErr()
S
79 1 3
YaySMTP\PluginCore::doHooks()
S
70 1 6
YaySMTP\Dashboard::analyticsEmailWidget()
S
75 1 4
YaySMTP\PluginCore::__construct()
S
98 1 1
YaySMTP\Schedule::delete_email_log_schedule()
S
82 1 3
YaySMTP\Controller\ZohoServiceVendController::getPluginAuthUrl()
S
66 1 9
YaySMTP\Helper\Utils::encrypt()
S
76 1 3
YaySMTP\Controller\AmazonWebServicesController::__construct()
S
76 1 4
YaySMTP\ImportSettingsOtherPlugins::adminMenuSettings()
S
77 1 3
YaySMTP\Schedule::send_mail_report_weekly()
S
64 1 10
YaySMTP\Controller\ZohoServiceVendController::generate_auth_code_url()
S
64 1 9
YaySMTP\Controller\GmailController::__construct()
S
81 1 3
YaySMTP\Helper\Installer::__construct()
S
78 1 4
YaySMTP\Schedule::send_mail_report_monthly()
S
64 1 10
YaySMTP\Helper\LogErrors::clearErr()
S
80 1 3
YaySMTP\Controller\OutlookMsServicesController::saveAccessToken()
S
79 1 3
YaySMTP\Helper\Utils::getAdminEmail()
S
80 1 3
YaySMTP\Functions::deleteEmailLogSchedule()
S
82 1 3
YaySMTP\ImportSettingsOtherPlugins::__construct()
S
91 1 2
YaySMTP\Helper\Utils::deleteAllEmailLogs()
S
75 1 4
YaySMTP\Page\Settings::settingsNetWorkMenu()
S
64 1 10
YaySMTP\Helper\Installer::createTables()
S
74 1 5
YaySMTP\Dashboard::__construct()
S
98 1 1
YaySMTP\Dashboard::init()
S
77 1 3
init()
S
73 1 6
YaySMTP\Page\Settings::settingsMenu()
S
64 1 10
YaySMTP\Page\Settings::pluginActionLinks()
S
68 1 6
YaySMTP\ImportSettingsOtherPlugins::doHooks()
S
70 1 6
YaySMTP\Helper\LogErrors::writeLogContent()
S
65 1 8
YaySMTP\Functions::__construct()
S
98 1 1
YaySMTP\Controller\ZohoController::getBody()
S
76 1 4
YaySMTP\Controller\ZohoServiceVendController::updAuthCode()
S
79 1 3
YaySMTP\Plugin::activate()
S
80 1 3
YaySMTP\Controller\OutlookMsServicesController::saveRefToken()
S
79 1 3
YaySMTP\Plugin::deactivate()
S
95 1 1
YaySMTP\Page\Settings::__construct()
S
98 1 1
YaySMTP\Helper\Utils::getAdminFromName()
S
80 1 3
YaySMTP\PluginCore::getProcessor()
S
72 1 5
YaySMTP\ImportSettingsOtherPlugins::yaysmtpSettingOther()
S
80 1 3
YaySMTP\Helper\Installer::pageExit()
S
76 1 4
YaySMTP\Controller\ZohoServiceVendController::doResetToken()
S
66 1 8
YaySMTP\Schedule::yaysmtp_datetime_monthly_cron_schedule()
S
68 1 7
YaySMTP\Helper\Utils::getTemplateHtml()
S
70 1 6
YaySMTP\Helper\Installer::setupPages()
S
91 1 2
YaySMTP\Helper\LogErrors::clearErrFallback()
S
80 1 3
YaySMTP\Helper\LogErrors::getErrFallback()
S
79 1 3