Code Analysis: GoSMTP 1.0.2

Function Rating Maintainability Complexity Lines of code
gosmtp_settings_page()
D
11
66 385
gosmtp_create_field()
B
36 23 71
GOSMTP\Mailer\Loader::process_response()
B
36 17 71
GOSMTP\Mailer\Sendlayer::postSend()
B
35 14 88
GOSMTP\Mailer\Sparkpost::postSend()
A
37 12 75
GOSMTP\Mailer\Sendinblue::postSend()
A
37 11 74
GOSMTP\Mailer\Sendgrid::postSend()
A
40 12 55
GOSMTP\Mailer\Mailgun::postSend()
A
38 11 69
GOSMTP\Mailer\Postmark::postSend()
A
39 11 64
GOSMTP\Mailer\Mailgun::getAttachments()
A
42 11 55
GOSMTP\Mailer\SMTPcom::getAttachments()
A
47 11 31
GOSMTP\Mailer\Sendlayer::getAttachments()
A
49 10 27
GOSMTP\Mailer\SMTPcom::postSend()
A
38 7 70
GOSMTP\Mailer\SMTP::send()
A
44 8 44
GOSMTP\Mailer\Sparkpost::get_recipients()
A
50 9 28
GOSMTP\Mailer\Loader::get_plugin_name()
A
52 9 22
GOSMTP\Mailer\SMTPcom::set_content()
A
48 8 37
GOSMTP\Mailer\Sendgrid::getAttachments()
S
50 6 29
gosmtp_page_footer()
S
44 3 73
GOSMTP\Mailer\Sparkpost::getAttachments()
S
52 6 25
GOSMTP\Mailer\Postmark::getAttachments()
S
52 6 25
gosmtp_load_phpmailer()
S
46 5 38
gosmtp_show_notices()
S
57 6 14
gosmtp_test_mail()
S
50 5 26
GOSMTP\Mailer\Sendgrid::filterRecipientsArray()
S
57 5 17
GOSMTP\Mailer\Sendinblue::filterRecipientsArray()
S
57 5 17
GOSMTP\Mailer\Loader::get_mailer_source()
S
58 5 16
GOSMTP\Mailer\Loader::filterRecipientsArray()
S
58 5 16
GOSMTP\Mailer\SMTPcom::filterRecipientsArray()
S
58 5 16
GOSMTP\Mailer\Loader::setHeaders()
S
62 6 10
GOSMTP\Mailer\Sendinblue::getAttachments()
S
58 5 15
GOSMTP\Mailer\Loader::save_options()
S
59 5 14
GOSMTP\Mailer\Loader::handle_response()
S
51 4 28
GOSMTP\Mailer\Loader::set_from()
S
62 5 11
GOSMTP\Mailer\Mail::send()
S
55 4 20
GOSMTP\Mailer\Loader::message_formatting()
S
59 4 15
gosmtp_autoload_register()
S
60 4 13
GOSMTP\Mailer\Loader::get_response_error_message()
S
60 4 13
GOSMTP\Mailer\SMTP::load_field()
S
44 1 55
gosmtp_clean()
S
66 4 9
GOSMTP\Mailer\Loader::delete_option()
S
65 4 8
GOSMTP\Mailer\Loader::getOption()
S
63 4 10
gosmtp_update_check()
S
60 3 14
gosmtp_load_mailer_list()
S
61 3 12
gosmtp_page_header()
S
54 2 26
GOSMTP\Mailer\Postmark::determineMimeContentRype()
S
62 3 11
GOSMTP\Mailer\Loader::update_option()
S
63 3 11
GOSMTP\Mailer\Loader::getActiveMailer()
S
69 3 6
GOSMTP\Mailer\Loader::getMailerOption()
S
68 3 7
gosmtp_load_plugin()
S
65 3 9
gosmtp_admin_menu()
S
57 2 15
\GOSMTP_PHPMailer::send()
S
60 2 13
GOSMTP\Mailer\Postmark::getRecipients()
S
62 2 11
GOSMTP\Mailer\Mailgun::load_field()
S
53 1 25
GOSMTP\Mailer\Sparkpost::load_field()
S
56 1 20
gosmtp_get_mailer_list()
S
54 1 18
GOSMTP\Mailer\SMTPcom::send()
S
65 2 9
GOSMTP\Mailer\SMTPcom::load_field()
S
60 1 15
GOSMTP\Mailer\Mailgun::set_API_Url()
S
66 2 8
gosmtp_optget()
S
71 2 6
GOSMTP\Mailer\Mailgun::getRecipients()
S
64 2 9
GOSMTP\Mailer\Loader::RandomString()
S
64 2 9
GOSMTP\Mailer\Loader::getDefaultParams()
S
66 2 8
gosmtp_optpost()
S
71 2 6
GOSMTP\Mailer\Postmark::load_field()
S
60 1 15
GOSMTP\Mailer\Sparkpost::set_API_Url()
S
66 2 8
GOSMTP\Mailer\Mailgun::send()
S
64 2 10
GOSMTP\Mailer\Postmark::send()
S
65 2 9
GOSMTP\Mailer\Sparkpost::send()
S
64 2 10
gosmtp_optreq()
S
71 2 6
GOSMTP\Mailer\Sendinblue::send()
S
65 2 9
GOSMTP\Mailer\Sendgrid::send()
S
65 2 9
GOSMTP\Mailer\Sendinblue::set_replyto()
S
68 2 7
GOSMTP\Mailer\Sendlayer::send()
S
65 2 9
GOSMTP\Mailer\Postmark::getRequestHeaders()
S
69 1 7
GOSMTP\Mailer\Sendgrid::getRecipients()
S
65 1 9
GOSMTP\Mailer\Sendgrid::getRequestHeaders()
S
70 1 6
GOSMTP\Mailer\Loader::loadOptions()
S
76 1 4
gosmtp_admin_init()
S
74 1 4
gosmtp_license_handler()
S
77 1 4
GOSMTP\Mailer\Sendinblue::load_field()
S
66 1 9
GOSMTP\Mailer\Sendgrid::load_field()
S
66 1 9
gosmtp_logs_handler()
S
81 1 3
GOSMTP\Mailer\Sendlayer::load_field()
S
65 1 10
gosmtp_page_handler()
S
77 1 4
gosmtp_export_handler()
S
77 1 4
gosmtp_died()
S
82 1 3
GOSMTP\Mailer\Loader::__construct()
S
82 1 3
gosmtp_email_reports_handler()
S
77 1 4
GOSMTP\Mailer\Sendgrid::getFrom()
S
68 1 8
GOSMTP\Mailer\Loader::setHeader()
S
75 1 4
gosmtp_activation()
S
73 1 5
GOSMTP\Mailer\Sendgrid::getBody()
S
67 1 8
gosmtp_json_output()
S
77 1 4
gosmtp_weekly_email_handler()
S
77 1 4