Code Analysis: YaySMTP - Simple WP SMTP Mail 1.5

Function Rating Maintainability Complexity Lines of code
YaySMTP\Controller\SMTPcomController::__construct()
D
31 32 103
YaySMTP\Controller\SendgridController::__construct()
C
34 30 86
YaySMTP\Controller\SendinblueController::__construct()
C
35 30 80
YaySMTP\Controller\MailgunController::__construct()
C
35 30 77
YaySMTP\Functions::saveSettings()
A
44 14 41
YaySMTP\Controller\ZohoServiceVendController::processAuthorizeServive()
A
43 10 50
YaySMTP\PluginCore::doSmtperInit()
A
50 11 28
YaySMTP\Controller\MailgunController::send()
A
44 10 40
YaySMTP\Controller\ZohoController::send()
A
41 8 55
YaySMTP\Controller\SendinblueController::send()
A
46 9 36
YaySMTP\Controller\GmailController::send()
A
46 9 36
YaySMTP\Controller\SendgridController::send()
A
46 9 35
YaySMTP\Controller\SMTPcomController::send()
A
46 9 35
YaySMTP\Functions::sendTestMail()
A
46 8 38
YaySMTP\Helper\Utils::isMailerComplete()
A
55 8 20
YaySMTP\PhpMailerExtends::send()
S
53 7 23
YaySMTP\Page\Settings::enqueueAdminScripts()
S
51 7 23
YaySMTP\Controller\GmailServiceVendController::processAuthorizeServive()
S
57 6 18
YaySMTP\Controller\GmailServiceVendController::saveAccessTokenExpire()
S
58 6 16
YaySMTP\Controller\ZohoServiceVendController::isExpired()
S
62 6 10
YaySMTP\PhpMailerExtends::getObject()
S
60 5 12
YaySMTP\Functions::gmailRemoveAuth()
S
61 5 12
YaySMTP\Functions::yohoRemoveAuth()
S
61 5 12
YaySMTP\Controller\AmazonSESController::send()
S
52 4 26
YaySMTP\Helper\Utils::setYaySmtpSetting()
S
62 5 11
YaySMTP\Helper\LogErrors::writeLog()
S
55 4 18
YaySMTP\Controller\GmailServiceVendController::tokenEmpty()
S
70 5 5
YaySMTP\Controller\SendgridController::getApiKey()
S
63 5 10
YaySMTP\Controller\SendinblueController::getApiKey()
S
63 5 10
YaySMTP\Controller\ZohoServiceVendController::clientIDSerect()
S
70 5 5
YaySMTP\Controller\GmailServiceVendController::clientIDSerect()
S
70 5 5
YaySMTP\PluginCore::actionForSmtpsHasAuth()
S
62 4 12
YaySMTP\Helper\LogErrors::getSystemStats()
S
52 3 23
YaySMTP\Controller\AmazonWebServicesController::getClient()
S
55 3 20
YaySMTP\Controller\AmazonWebServicesController::get_region()
S
64 4 10
YaySMTP\Controller\GmailServiceVendController::getSetting()
S
66 4 8
YaySMTP\Controller\AmazonWebServicesController::get_access_key_id()
S
64 4 10
YaySMTP\Helper\Utils::isJson()
S
76 4 3
YaySMTP\Helper\Utils::getCurrentMailer()
S
64 4 10
YaySMTP\Helper\Utils::getCurrentFromEmail()
S
64 4 10
YaySMTP\Controller\MailgunController::getApiKey()
S
64 4 10
YaySMTP\Controller\MailgunController::getDomain()
S
64 4 10
YaySMTP\Controller\ZohoServiceVendController::getSetting()
S
66 4 8
YaySMTP\Controller\MailgunController::getRegion()
S
64 4 10
YaySMTP\Controller\ZohoServiceVendController::tokenEmpty()
S
71 4 5
YaySMTP\Controller\AmazonWebServicesController::get_secret_access_key()
S
64 4 10
YaySMTP\Helper\Utils::getCurrentFromName()
S
63 4 10
YaySMTP\Controller\SMTPcomController::getApiKey()
S
64 4 10
YaySMTP\Controller\SMTPcomController::getChannel()
S
64 4 10
YaySMTP\Controller\ZohoServiceVendController::get_tokens()
S
56 2 18
YaySMTP\Helper\Utils::decrypt()
S
64 3 8
YaySMTP\Controller\ZohoController::setUrl()
S
68 3 7
YaySMTP\Controller\GmailServiceVendController::saveAccessTokenWithCode()
S
66 3 8
YaySMTP\Helper\Utils::getYaySmtpSetting()
S
67 3 8
YaySMTP\Controller\ZohoServiceVendController::isDiffInfo()
S
69 3 6
YaySMTP\Controller\ZohoController::get_account_id()
S
59 2 14
YaySMTP\Controller\ZohoServiceVendController::get_auth_info()
S
61 2 13
YaySMTP\Controller\GmailServiceVendController::getclientWebService()
S
58 1 16
YaySMTP\Helper\Utils::checkNonce()
S
69 2 6
YaySMTP\Functions::doHooks()
S
63 2 10
YaySMTP\Functions::getInstance()
S
70 2 7
YaySMTP\Helper\Utils::getTemplatePart()
S
64 2 9
YaySMTP\Controller\GmailServiceVendController::setUserInf()
S
65 2 9
YaySMTP\Plugin::activate()
S
69 2 6
YaySMTP\PluginCore::getInstance()
S
70 2 7
YaySMTP\Plugin::getInstance()
S
70 2 7
YaySMTP\Helper\Utils::getAdminPageUrl()
S
65 2 10
YaySMTP\Controller\GmailServiceVendController::__construct()
S
75 2 5
YaySMTP\Helper\Installer::getInstance()
S
72 2 6
YaySMTP\Helper\LogErrors::setErr()
S
68 2 6
YaySMTP\Controller\GmailServiceVendController::googleClientObj()
S
60 1 15
YaySMTP\Page\Settings::getPageId()
S
71 2 6
YaySMTP\Page\Settings::getInstance()
S
70 2 7
YaySMTP\Helper\LogErrors::getMessageException()
S
64 2 9
YaySMTP\Helper\LogErrors::clearLog()
S
70 2 6
YaySMTP\Controller\ZohoServiceVendController::__construct()
S
74 2 5
YaySMTP\Controller\AmazonSESController::prepare()
S
68 2 8
YaySMTP\Helper\Utils::getAllMailerSetting()
S
60 1 13
YaySMTP\PhpMailerExtends::getSMTPerObj()
S
60 1 13
YaySMTP\Helper\Installer::createTables()
S
80 1 3
YaySMTP\Controller\GmailServiceVendController::saveRefToken()
S
79 1 3
YaySMTP\Controller\ZohoController::getBody()
S
76 1 4
YaySMTP\PluginCore::__construct()
S
98 1 1
YaySMTP\Functions::do_schedule()
S
82 1 3
YaySMTP\Helper\LogErrors::getErr()
S
79 1 3
YaySMTP\Plugin::deactivate()
S
95 1 1
YaySMTP\Controller\GmailServiceVendController::saveAccessToken()
S
79 1 3
YaySMTP\Controller\ZohoServiceVendController::generate_auth_code_url()
S
63 1 9
YaySMTP\Functions::__construct()
S
98 1 1
YaySMTP\Helper\Installer::__construct()
S
78 1 4
YaySMTP\Page\Settings::__construct()
S
98 1 1
YaySMTP\Controller\ZohoServiceVendController::getPluginAuthUrl()
S
68 1 8
YaySMTP\Page\Settings::doHooks()
S
69 1 6
YaySMTP\Page\Settings::pluginActionLinks()
S
68 1 6
YaySMTP\Helper\Utils::encrypt()
S
76 1 3
YaySMTP\Controller\ZohoServiceVendController::updAuthCode()
S
79 1 3
YaySMTP\Helper\Installer::pageExit()
S
76 1 4
YaySMTP\Controller\AmazonSESController::__construct()
S
81 1 3
YaySMTP\Helper\Utils::getAdminEmail()
S
80 1 3
YaySMTP\Page\Settings::settingsMenu()
S
64 1 10
YaySMTP\Helper\Utils::getAdminFromName()
S
80 1 3
YaySMTP\Helper\LogErrors::clearErr()
S
80 1 3
init()
S
83 1 3
YaySMTP\Plugin::__construct()
S
98 1 1
YaySMTP\PluginCore::getFromAddress()
S
81 1 3
YaySMTP\Helper\Utils::adminUrl()
S
78 1 3
YaySMTP\Controller\GmailServiceVendController::saveAuthorizeCode()
S
79 1 3
YaySMTP\Helper\Utils::saniVal()
S
80 1 3
YaySMTP\PluginCore::getProcessor()
S
72 1 5
YaySMTP\Helper\Installer::setupPages()
S
91 1 2
YaySMTP\PluginCore::doHooks()
S
70 1 6
YaySMTP\Controller\ZohoServiceVendController::doResetToken()
S
66 1 8
YaySMTP\PluginCore::getFromName()
S
81 1 3
YaySMTP\Helper\LogErrors::writeLogContent()
S
65 1 8
YaySMTP\Page\Settings::settingsPage()
S
76 1 4
YaySMTP\Controller\ZohoController::__construct()
S
81 1 3
YaySMTP\Controller\GmailController::__construct()
S
81 1 3
YaySMTP\Plugin::doHooks()
S
71 1 6