Code Analysis: MailerLite - Signup forms (official) 1.5.4

Function Rating Maintainability Complexity Lines of code
MailerLiteForms\Controllers\AdminController::forms()
D
20
39 223
MailerLiteForms\Admin\Views\EditCustomView::view()
D
22
18 326
MailerLiteForms\Admin\Views\EditEmbeddedView::view()
B
31 16 151
MailerLiteForms\Admin\Views\SettingsView::view()
B
33 15 128
MailerLiteForms\Admin\Status::getInformation()
B
39 16 54
MailerLiteForms\Modules\Form::save_form_data()
A
38 12 74
MailerLiteForms\Admin\Views\MainView::view()
A
36 9 102
MailerLiteForms\Hooks::initHooks()
A
41 10 65
MailerLiteForms\Views\CustomForm::view()
A
38 7 98
MailerLiteForms\Admin\Views\CreateCustomView::view()
A
37 4 132
MailerLiteForms\Admin\Views\CreateView::view()
A
39 6 93
MailerLiteForms\Views\EmbeddedForm::view()
A
55 9 20
MailerLiteForms\Admin\Settings::setAPIKey()
A
44 7 43
MailerLiteForms\Admin\Actions::__construct()
A
57 8 18
MailerLiteForms\Modules\Form::add_jquery_validation_libraries()
A
51 7 32
MailerLiteForms\Modules\Form::create_new_form()
S
42 5 53
MailerLiteForms\Modules\Shortcode::redirect_to_form_edit()
S
47 6 36
MailerLiteForms\Admin\Views\StatusView::view()
S
47 5 50
MailerLiteForms\Admin\Views\GroupsView::view()
S
51 4 36
MailerLiteForms\Api\RewriteAPI::parseResponse()
S
55 5 19
MailerLiteForms\Modules\Widget::form()
S
50 4 32
MailerLiteForms\Modules\Gutenberg::ajax_forms()
S
51 4 27
MailerLiteForms\Modules\Widget::widget()
S
53 4 23
MailerLiteForms\Views\Common\TinyMCE::view()
S
49 2 46
MailerLiteForms\Api\MailerLiteAPI::parseResponse()
S
61 4 13
MailerLiteForms\Modules\Gutenberg::form_preview_iframe()
S
50 3 28
MailerLiteForms\Core::hasServerRequirements()
S
56 3 22
MailerLiteForms\Modules\Form::load_mailerlite_form()
S
56 3 20
MailerLiteForms\Modules\Gutenberg::init()
S
50 2 34
MailerLiteForms\Helper::mailerlite_universal_rw()
S
58 3 18
MailerLiteForms\Modules\Shortcode::init()
S
52 2 30
MailerLiteForms\Api\RewriteAPI::getDoubleOptin()
S
64 4 10
MailerLiteForms\Helper::getEmailBody()
S
59 3 14
MailerLiteForms\Api\PlatformAPI::__construct()
S
61 3 14
MailerLiteForms\Admin\Settings::toggleDoubleOptIn()
S
61 3 12
MailerLiteForms\Controllers\AdminController::settings()
S
61 3 12
MailerLiteForms\Views\Preview::view()
S
56 2 25
MailerLiteForms\Core::install()
S
57 2 18
MailerLiteForms\Admin\Hooks::load_mailerlite_admin_css()
S
59 2 16
MailerLiteForms\Api\RewriteAPI::getGroups()
S
57 2 16
MailerLiteForms\Core::__construct()
S
67 3 9
MailerLiteForms\Api\MailerLiteAPI::getDoubleOptin()
S
67 3 8
MailerLiteForms\Api\MailerLiteAPI::setDoubleOptin()
S
66 3 8
MailerLiteForms\Helper::issetWithDefault()
S
66 3 9
MailerLiteForms\Admin\Menu::generateLinks()
S
52 1 30
MailerLiteForms\Api\PlatformAPI::getApiType()
S
66 3 9
MailerLiteForms\Admin\Settings::setPopups()
S
63 3 10
MailerLiteForms\Api\RewriteAPI::getEmbeddedForms()
S
59 2 14
MailerLiteForms\Api\RewriteAPI::getFields()
S
59 2 14
MailerLiteForms\Api\MailerLiteAPI::getEmbeddedForms()
S
59 2 14
MailerLiteForms\Helper::mailerlite_universal()
S
58 1 28
MailerLiteForms\Modules\Shortcode::mailerlite_tinymce_window()
S
61 2 13
MailerLiteForms\Api\MailerLiteAPI::validateKey()
S
63 2 11
MailerLiteForms\Modules\Form::generate_form()
S
63 2 11
MailerLiteForms\Controllers\AdminController::getMoreGroups()
S
53 1 23
MailerLiteForms\Admin\Views\SidebarView::view()
S
60 1 20
MailerLiteForms\Admin\Settings::clearForms()
S
70 2 6
MailerLiteForms\Modules\Widget::update()
S
68 2 7
MailerLiteForms\Api\PlatformAPI::isValidMd5Key()
S
78 2 3
MailerLiteForms\Api\RewriteAPI::validateKey()
S
64 2 10
MailerLiteForms\Api\RewriteAPI::addSubscriberToGroup()
S
64 2 9
MailerLiteForms\Controllers\AdminController::init()
S
72 2 6
MailerLiteForms\Admin\Views\Header::view()
S
68 2 10
MailerLiteForms\Admin\Hooks::adminHooks()
S
63 1 14
MailerLiteForms\Modules\Form::init()
S
62 1 14
MailerLiteForms\Views\EmbeddedForm::__construct()
S
80 1 3
MailerLiteForms\Api\PlatformAPI::getDoubleOptin()
S
81 1 3
MailerLiteForms\Admin\Views\SettingsView::__construct()
S
81 1 3
MailerLiteForms\Views\Iframe::__construct()
S
81 1 3
MailerLiteForms\Admin\AdminNotice::__construct()
S
91 1 2
MailerLiteForms\Api\PlatformAPI::getResponseBody()
S
81 1 3
MailerLiteForms\Api\PlatformAPI::responseCode()
S
81 1 3
MailerLiteForms\Views\Common\TinyMCE::__construct()
S
81 1 3
MailerLiteForms\Api\RewriteAPI::__construct()
S
68 1 7
MailerLiteForms\Admin\Status::__construct()
S
91 1 2
MailerLiteForms\Admin\Views\StatusView::__construct()
S
81 1 3
MailerLiteForms\Api\RewriteAPI::checkMoreGroups()
S
66 1 8
MailerLiteForms\Api\RewriteAPI::getMoreGroups()
S
67 1 8
MailerLiteForms\Api\RewriteAPI::searchGroups()
S
75 1 4
MailerLiteForms\Api\RewriteAPI::addSubscriber()
S
66 1 8
MailerLiteForms\Api\Client::__construct()
S
77 1 4
MailerLiteForms\Api\Client::remote_get()
S
72 1 5
MailerLiteForms\Controllers\AdminController::status()
S
76 1 4
MailerLiteForms\Admin\Views\SidebarView::__construct()
S
82 1 3
MailerLiteForms\Api\PlatformAPI::getFields()
S
80 1 3
MailerLiteForms\Api\PlatformAPI::getGroups()
S
80 1 3
MailerLiteForms\Admin\AdminNotice::oldWPNotice()
S
71 1 5
MailerLiteForms\Modules\Form::__construct()
S
78 1 3
MailerLiteForms\Api\PlatformAPI::addSubscriber()
S
79 1 3
MailerLiteForms\Views\Iframe::view()
S
72 1 10
MailerLiteForms\Api\MailerLiteAPI::getMoreGroups()
S
67 1 7
MailerLiteForms\Modules\Form::generate_custom_form()
S
69 1 7
MailerLiteForms\Modules\Shortcode::mailerlite_register_button()
S
76 1 4
MailerLiteForms\Api\MailerLiteAPI::addSubscriberToGroup()
S
66 1 8
MailerLiteForms\Api\RewriteAPI::setDoubleOptin()
S
77 1 4
MailerLiteForms\Admin\Views\EditEmbeddedView::__construct()
S
79 1 3
MailerLiteForms\Admin\Views\CreateView::__construct()
S
81 1 3
MailerLiteForms\Api\MailerLiteAPI::searchGroups()
S
74 1 4
MailerLiteForms\Modules\Form::generate_embedded_form()
S
73 1 5
MailerLiteForms\Api\PlatformAPI::validateKey()
S
81 1 3
MailerLiteForms\Views\InvalidForm::view()
S
70 1 9
MailerLiteForms\Modules\Widget::__construct()
S
66 1 9
MailerLiteForms\Controllers\AdminController::__construct()
S
91 1 2
MailerLiteForms\Api\PlatformAPI::getMoreGroups()
S
79 1 3
MailerLiteForms\Core::deactivatePlugin()
S
80 1 3
MailerLiteForms\Api\MailerLiteAPI::responseCode()
S
82 1 3
MailerLiteForms\Api\RewriteAPI::getResponseBody()
S
82 1 3
MailerLiteForms\Api\Client::remote_post()
S
69 1 6
MailerLiteForms\Api\PlatformAPI::setDoubleOptin()
S
80 1 3
MailerLiteForms\Api\MailerLiteAPI::checkMoreGroups()
S
67 1 7
MailerLiteForms\Admin\Views\Header::__construct()
S
81 1 3
MailerLiteForms\Controllers\AdminController::apiKey()
S
80 1 3
MailerLiteForms\Api\MailerLiteAPI::getGroups()
S
75 1 4
MailerLiteForms\Api\MailerLiteAPI::__construct()
S
68 1 7
MailerLiteForms\Admin\AdminNotice::oldPHPNotice()
S
71 1 5
MailerLiteForms\Api\PlatformAPI::getEmbeddedForms()
S
80 1 3
MailerLiteForms\Hooks::addStyle()
S
68 1 8
MailerLiteForms\Admin\Views\GroupsView::__construct()
S
79 1 3
MailerLiteForms\Admin\Settings::__construct()
S
91 1 2
MailerLiteForms\Admin\Views\EditCustomView::__construct()
S
78 1 3
MailerLiteForms\Admin\AdminNotice::error_invalid_api_key()
S
72 1 5
MailerLiteForms\Admin\Hooks::__construct()
S
78 1 4
MailerLiteForms\Modules\Shortcode::mailerlite_add_tinymce_plugin()
S
75 1 4
MailerLiteForms\Helper::__construct()
S
91 1 2
MailerLiteForms\Api\MailerLiteAPI::getFields()
S
75 1 4
MailerLiteForms\Hooks::loadTextDomain()
S
73 1 5
MailerLiteForms\Admin\Views\MainView::__construct()
S
81 1 3
MailerLiteForms\Api\RewriteAPI::responseCode()
S
82 1 3
MailerLiteForms\Admin\Menu::__construct()
S
91 1 2
MailerLiteForms\Core::checkPHPRequirments()
S
78 1 3
MailerLiteForms\Api\MailerLiteAPI::addSubscriber()
S
67 1 8
MailerLiteForms\Modules\Widget::register_mailerlite_widget()
S
80 1 3
MailerLiteForms\Api\PlatformAPI::searchGroups()
S
80 1 3
MailerLiteForms\Modules\Gutenberg::form_preview_html()
S
74 1 5
MailerLiteForms\Views\InvalidForm::__construct()
S
81 1 3
MailerLiteForms\Api\PlatformAPI::addSubscriberToGroup()
S
79 1 3
MailerLiteForms\Admin\Views\CreateCustomView::__construct()
S
79 1 3
MailerLiteForms\Api\MailerLiteAPI::getResponseBody()
S
82 1 3
MailerLiteForms\Admin\AdminNotice::notAllowedNotice()
S
72 1 5
MailerLiteForms\Admin\Hooks::adminScripts()
S
69 1 8
MailerLiteForms\Modules\Gutenberg::enqueue_gutenberg_scripts()
S
69 1 6
MailerLiteForms\Hooks::__construct()
S
82 1 3
MailerLiteForms\Api\PlatformAPI::checkMoreGroups()
S
79 1 3
MailerLiteForms\Views\CustomForm::__construct()
S
80 1 3
MailerLiteForms\Views\Preview::__construct()
S
82 1 3
MailerLiteForms\Modules\Shortcode::mailerlite_generate_shortcode()
S
67 1 8