Code Analysis: Send Emails with Mandrill 1.4.3

Function Rating Maintainability Complexity Lines of code
wpMandrill::sendEmail()
D
25
45 138
wpMandrill::getAjaxStats()
B
26
13 200
wpMandrill::getProcessedStats()
B
38 20 62
wpMandrill::showDashboardWidgetOptions()
B
40 17 52
wpMandrill::getRawStatistics()
B
41 16 51
Mandrill::request()
A
42 12 47
Mandrill::getAttachmentStruct()
A
44 11 42
wpMandrill_HowTos::show()
A
46 10 40
wpMandrill::showDashboardWidget()
A
47 10 33
wpMandrill::addDashboardWidgets()
A
47 10 31
Mandrill::http_request()
A
44 8 45
wpMandrill::sendTestEmail()
A
50 9 27
wpMandrill::processStats()
A
48 8 30
wpMandrill::adminInit()
A
42 7 45
wpMandrill::findTags()
S
51 7 25
wpMandrill::evaluate_response()
S
56 7 16
wpMandrill::askTemplate()
S
52 6 26
wpMandrill::showOptionsPage()
S
48 5 38
wpMandrill::adminMenu()
S
47 5 36
wpMandrill::getCurrentStats()
S
56 6 18
wpMandrill_transformJSArray()
S
59 6 15
wpMandrill::showContextualHelp()
S
49 5 29
wpMandrill::isTemplateValid()
S
61 6 11
wpMandrill::askAPIKey()
S
55 5 20
wpMandrill::mail()
S
48 4 32
wpMandrill::fetchMandrillStats()
S
50 4 28
wpMandrill::processAttachments()
S
59 5 13
pluginActivation::check_version()
S
62 5 11
Mandrill::__construct()
S
62 5 10
wpMandrill::on_load()
S
51 3 26
wpMandrill::openContextualHelp()
S
65 4 11
wpMandrill::showPluginActionLinks()
S
58 3 14
wpMandrill_HowTos::showSectionFilter()
S
51 1 43
wpMandrill::ensureEmailFormatting()
S
62 3 12
wpMandrill::outputInlineScript()
S
50 2 26
wpMandrill::asknl2br()
S
56 2 21
wpMandrill::formValidate()
S
58 2 16
wpMandrill::getConnected()
S
66 3 8
wpMandrill::getFromEmail()
S
64 3 9
wpMandrill::showAdminEnqueueScripts()
S
69 3 6
wpMandrill::network_connect_notice()
S
62 2 13
wpMandrill::asknl2brWooCommerce()
S
62 2 12
wpMandrill_HowTos::showSectionNl2br()
S
60 1 20
wpMandrill::showHowTos()
S
57 1 18
wp_mail()
S
64 2 9
wpMandrill::getOption()
S
70 2 6
wpMandrill::isConfigured()
S
79 2 3
wpMandrill::getAPIKey()
S
71 2 6
wpMandrill::isWooCommerceActive()
S
71 2 6
wpMandrill::getnl2brWooCommerce()
S
73 2 5
wpMandrill::askTrackClicks()
S
67 2 8
pluginActivation::__construct()
S
71 2 6
wpMandrill::isPluginPage()
S
76 2 3
pluginActivation::activation_check()
S
70 2 6
wpMandrill::adminNotices()
S
72 2 5
pluginActivation::compatible_version()
S
72 2 5
wpMandrill::askTrackOpens()
S
67 2 8
wpMandrill::hideDashboardWidget()
S
67 2 8
wpMandrill::getTestEmailOption()
S
70 2 6
wpMandrill::saveProcessedStats()
S
63 2 10
wpMandrill::getUserAgent()
S
62 2 10
wpMandrill::getReportsDashboardURL()
S
73 2 4
wpMandrill_HowTos::showSectionDirect()
S
62 1 12
wpMandrill::getTrackOpens()
S
80 1 3
wpMandrill::askFromEmail()
S
66 1 9
Mandrill::tags_list()
S
81 1 3
Mandrill::webhooks_add()
S
78 1 3
wpMandrill::getTags()
S
80 1 3
wpMandrill::showReportPage()
S
80 1 3
Mandrill::tags_all_time_series()
S
81 1 3
wpMandrill::fetchNewDashboardData()
S
69 1 9
Mandrill::templates_delete()
S
79 1 3
wpMandrill::isConnected()
S
80 1 3
Mandrill::webhooks_update()
S
78 1 3
wpMandrill::deactivate()
S
80 1 3
wpMandrill::askSubAccount()
S
67 1 8
Mandrill::tags_time_series()
S
79 1 3
wpMandrill::askTestEmailTo()
S
73 1 5
Mandrill::templates_list()
S
81 1 3
Mandrill::webhooks_info()
S
79 1 3
Mandrill::senders_info()
S
79 1 3
Mandrill::webhooks_delete()
S
79 1 3
Mandrill::webhooks_list()
S
81 1 3
wpMandrill::getSubAccount()
S
80 1 3
Mandrill::users_ping()
S
81 1 3
Mandrill::templates_time_series()
S
79 1 3
wpMandrill::askTestEmailMessage()
S
74 1 5
Mandrill::Mandrill()
S
92 1 1
pluginActivation::disabled_notice()
S
78 1 3
Mandrill::getValidContentTypes()
S
68 1 9
wpMandrill::getReplyTo()
S
80 1 3
wpMandrill::wp_mail_native()
S
80 1 3
wpMandrill_HowTos::showSectionRegions()
S
66 1 9
wpMandrill::askReplyTo()
S
67 1 8
Mandrill::messages_send_template()
S
69 1 6
wpMandrill::gethideDashboardWidget()
S
80 1 3
Mandrill::messages_search()
S
77 1 3
wpMandrill_HowTos::showSectionAuto()
S
66 1 9
Mandrill::isValidContentType()
S
82 1 3
wpMandrill_HowTos::showSectionIntro()
S
64 1 9
Mandrill::users_disable_sender()
S
79 1 3
Mandrill::users_senders()
S
81 1 3
wpMandrill::getFromUsername()
S
80 1 3
wpMandrill::getnl2br()
S
80 1 3
wpMandrill::askFromName()
S
67 1 8
Mandrill::templates_update()
S
78 1 3
wpMandrill::getTemplate()
S
80 1 3
wpMandrill::setOption()
S
70 1 6
wpMandrill::askTags()
S
66 1 9
Mandrill::templates_add()
S
78 1 3
wpMandrill::getTrackClicks()
S
80 1 3
Mandrill::senders_time_series()
S
79 1 3
Mandrill::senders_list()
S
81 1 3
wpMandrill_HowTos::showSectionRegular()
S
66 1 9
wpMandrill::askTestEmailSubject()
S
73 1 5
Mandrill::messages_send()
S
69 1 6
Mandrill::users_info()
S
81 1 3
Mandrill::templates_info()
S
79 1 3
Mandrill::senders_domains()
S
81 1 3
Mandrill::tags_info()
S
79 1 3
Mandrill::users_verify_sender()
S
79 1 3
wpMandrill::getFromName()
S
80 1 3