Code Analysis: Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue 3.1.45

Function Rating Maintainability Complexity Lines of code
SIB_Page_Form::generate_form_edit()
D
11
31 676
SIB_Page_Form::save_setting_subscription()
D
26
43 125
SIB_Manager::sib_email()
D
27
36 133
SIB_API_Manager::create_subscriber()
D
29 30 120
SIB_Manager::signup_process()
C
30 25 124
SIB_Manager::sib_create_language_sidebar()
C
33 24 105
SIB_Page_Home::generate_main_content()
C
27
17 181
SIB_API_Manager::send_comfirm_email()
B
34 15 93
SIB_API_Manager::send_email()
B
41 17 50
SIB_Page_Statistics::generate_main_page()
B
34 13 105
SIB_Manager::__construct()
A
35 10 86
SIB_Page_Home::ajax_sync_users()
A
39 11 65
Sendinblue::page()
A
50 13 26
SIB_Manager::processAddressFields()
A
47 12 37
SIB_Manager::generate_form_box()
A
39 9 79
SIB_API_Manager::validation_email()
A
44 11 47
SendinblueApiClient::makeHttpRequest()
A
45 11 40
Sendinblue::track()
A
52 11 22
SIB_Page_Home::print_sync_popup()
A
36 5 107
SIB_Page_Form::generate()
A
43 8 55
SIB_Manager::getAttachmentStruct()
A
46 9 38
SIB_Page_Form::ajax_update_html()
A
52 10 22
SIB_API_Manager::unsubscribe()
A
38 5 89
SIB_Manager::init()
A
50 9 25
SIB_Forms_List::process_bulk_action()
A
50 9 25
Sendinblue::trackLink()
A
55 9 17
SIB_API_Manager::get_templates()
A
51 8 26
SIB_Forms::getForms()
A
50 8 26
SIB_Page_Home::processInstallationInfo()
A
47 7 37
SIB_Model_Contact::is_exist_same_email()
A
55 8 18
SIB_Model_Users::is_exist_same_email()
A
55 8 18
SIB_API_Manager::template_subscribe()
S
43 4 74
SIB_API_Manager::create_default_dopt()
S
50 7 28
SIB_API_Manager::get_attributes()
S
51 7 27
SIB_API_Manager::get_lists()
S
52 7 23
SIB_API_Manager::get_smtp_status()
S
53 7 21
SIB_API_Manager::subscribe()
S
49 6 32
SIB_Page_Scenarios::generate_main_page()
S
38 1 105
SIB_Page_Statistics::get_selected_statistics_dates()
S
50 6 30
SIB_SMS_Code::__construct()
S
32 1 97
SIB_API_Manager::get_sender_lists()
S
53 6 21
SIB_Forms::alterTable()
S
49 5 35
SIB_Widget_Subscribe::form()
S
49 5 35
SIB_API_Manager::get_account_info()
S
54 6 19
SendinblueApiClient::getAllCampaignsByType()
S
56 6 18
wp_mail()
S
56 6 17
Sendinblue::identify()
S
57 6 15
SIB_Forms_List::column_default()
S
63 6 11
SIB_Page_Home::ajax_validation_process()
S
51 5 24
SIB_Forms::getForm()
S
47 4 36
SIB_Forms::get_old_form()
S
48 4 32
SIB_Manager::is_done_validation()
S
59 5 15
SendinblueApiClient::getAllLists()
S
58 5 14
SendinblueApiClient::getAllFolders()
S
58 5 14
SIB_Forms::modify_datatype()
S
61 5 11
SendinblueApiClient::get()
S
62 5 11
SendinblueApiClient::getAllEmailTemplates()
S
53 4 24
SIB_Forms_List::get_columns()
S
52 4 24
SIB_Forms_List::column_trans()
S
52 4 23
SIB_Forms_Lang::remove_trans()
S
54 4 22
SIB_Manager::install_ma_script()
S
55 4 19
SIB_Page_Form::ajax_change_template()
S
55 4 19
SIB_Manager::install_service_worker_script()
S
55 4 18
SIB_Page_Home::ajax_sender_change()
S
57 4 15
SIB_Manager::create_activate_code()
S
50 3 30
SIB_Widget_Subscribe::widget()
S
58 4 14
SIB_Manager::language_admin_notice()
S
61 4 11
SIB_Forms::createTable()
S
50 2 39
SIB_Page_Home::generate_welcome_content()
S
46 1 53
SIB_Forms_Lang::get_form_ID()
S
55 3 21
SIB_Forms_Lang::get_lang()
S
55 3 21
SIB_Page_Home::ajax_send_email()
S
48 2 35
SIB_Forms_Lang::check_form_trans()
S
56 3 18
SendinblueApiClient::getAccount()
S
58 3 18
SIB_Page_Home::ajax_validate_ma()
S
57 3 16
SIB_Page_Home::print_disable_popup()
S
49 1 45
SIB_Forms_List::usort_reorder()
S
67 4 6
SIB_Page_Home::generate_side_bar()
S
49 1 44
Sendinblue::__construct()
S
59 3 13
SIB_Manager::install()
S
62 3 11
SIB_Model_Users::add_record()
S
60 3 11
SIB_Manager::uninstall_service_worker_script()
S
62 3 11
SIB_Page_Statistics::generate()
S
59 2 26
SIB_API_Manager::identify_user()
S
62 3 11
SIB_Page_Home::generate()
S
56 2 26
SIB_Model_Contact::get_all()
S
55 2 20
SIB_API_Manager::sync_users()
S
55 2 20
SIB_Model_Contact::add_record()
S
56 2 19
SIB_Model_Contact::update_element()
S
56 2 19
Mailin::do_request()
S
55 2 18
SIB_API_Manager::get_email_template()
S
57 2 16
SIB_Model_Contact::get_data_by_code()
S
62 3 10
SIB_Model_Contact::get_data_by_email()
S
62 3 10
SIB_Forms_List::admin_header()
S
66 3 8
SIB_Manager::admin_menu()
S
64 3 10
SIB_Model_Users::get_data_by_email()
S
62 3 10
SIB_Model_Users::get_data_by_code()
S
62 3 10
SIB_Manager::getLanguageName()
S
49 1 30
SIB_Page_Home::Init()
S
72 3 5
SIB_Manager::getCorrespondingSibAttribute()
S
65 3 9
SIB_Manager::sibwp_form_shortcode()
S
60 2 14
SIB_Model_Users::get_all()
S
59 2 13
SIB_Page_Scenarios::generate()
S
57 1 28
SIB_Manager::ajax_get_country_prefix()
S
59 2 12
SIB_Page_Form::ajax_get_lists()
S
62 2 11
SIB_Manager::wp_head_ac()
S
54 1 20
SIB_Model_Users::createTable()
S
60 1 17
SIB_Page_Home::logout()
S
57 1 17
SIB_Manager::uninstall()
S
59 1 16
SIB_Page_Form::generate_forms_page()
S
63 1 16
SIB_Model_Users::add_prefix()
S
67 2 7
SIB_Model_Users::add_user_added_date_column()
S
64 2 9
SIB_Model_Contact::get_data()
S
63 2 10
SIB_Model_Users::get_all_records()
S
63 2 10
Sendinblue::set_email_cookie()
S
67 2 7
SIB_Forms::add_prefix()
S
68 2 7
SIB_Page_Home::ajax_activate_email_change()
S
65 2 8
SendinblueAccount::getInstance()
S
70 2 7
SIB_Forms::get_default_css_html()
S
77 2 3
SIB_Manager::sib_parse_request()
S
71 2 6
SIB_Manager::wpMailNotices()
S
72 2 5
SIB_Model_Users::get_data()
S
63 2 10
SIB_Forms::getDefaultMessageCss()
S
73 2 4
SIB_Forms::get_default_form_html()
S
77 2 3
SIB_Page_Form::ajax_copy_origin_form()
S
67 2 7
Sendinblue::get_app_domain()
S
71 2 5
SIB_Model_Contact::get_all_records()
S
63 2 10
Mailin::__construct()
S
67 2 8
SIB_Forms_Lang::remove_all_trans()
S
67 2 7
SIB_Model_Contact::create_table()
S
62 1 14
SIB_Forms_Lang::add_form_ID()
S
60 1 14
SIB_Page_Form::enqueue_scripts()
S
60 1 14
SIB_Forms::getDefaultForm()
S
59 1 14
SIB_Forms::createDefaultForm()
S
57 1 14
SIB_Forms::addForm()
S
58 1 13
SIB_Forms::updateForm()
S
58 1 13
SIB_Forms_Lang::createTable()
S
62 1 13
SIB_Forms_List::prepare_items()
S
62 1 12
SIB_Page_Home::enqueue_scripts()
S
63 1 12
SIB_Widget_Subscribe::__construct()
S
68 1 9
SIB_Page_Statistics::generate_welcome_page()
S
72 1 6
SIB_Model_Users::get_count_element()
S
70 1 6
SIB_Model_Contact::get_count_element()
S
74 1 4
SendinblueAccount::__construct()
S
91 1 2
SIB_Manager::my_upgrade_function()
S
76 1 4
SendinblueApiClient::getFolders()
S
79 1 3
SIB_Page_Form::ajax_get_templates()
S
67 1 8
SendinblueApiClient::importContacts()
S
79 1 3
SIB_Forms_Lang::removeTable()
S
72 1 5
SIB_Page_Scenarios::Init()
S
100 1 2
SIB_Page_Form::Init()
S
74 1 5
SIB_Page_Statistics::Init()
S
76 1 4
SendinblueApiClient::getEmailTemplates()
S
79 1 3
SendinblueApiClient::post()
S
79 1 3
SIB_Forms_List::pagination()
S
72 1 4
SIB_Forms::deleteForm()
S
66 1 9
SendinblueApiClient::getEmailCampaigns()
S
79 1 3
SIB_Page_Scenarios::generate_welcome_page()
S
72 1 6
SIB_Forms_List::__construct()
S
66 1 8
SIB_API_Manager::__construct()
S
100 1 2
SIB_API_Manager::get_default_list_id()
S
74 1 4
SIB_Page_Home::get_narration_script()
S
74 1 5
SIB_Forms_List::getForms()
S
67 1 7
SIB_Manager::is_api_key_set()
S
75 1 4
SendinblueApiClient::updateInstallationInfo()
S
78 1 3
SIB_Forms_List::column_cb()
S
74 1 5
Sendinblue::get_default_cookie_expiry()
S
79 1 3
Mailin::post()
S
78 1 3
SIB_Page_Home::__construct()
S
66 1 7
SendinblueApiClient::getEmailTemplate()
S
79 1 3
SIB_Forms_List::get_bulk_actions()
S
72 1 6
SIB_Model_Users::removeTable()
S
72 1 5
SIB_Forms_List::column_title()
S
62 1 10
SIB_Manager::wordpress_allowed_attributes()
S
63 1 10
SIB_Manager::redirect_to_sib_plugin_homepage()
S
78 1 3
SIB_Manager::sib_create_widget()
S
82 1 3
SIB_Page_Statistics::__construct()
S
68 1 6
SIB_Page_Form::__construct()
S
64 1 8
SIB_Page_Scenarios::enqueue_scripts()
S
66 1 10
sendinblue_init()
S
79 1 4
SendinblueApiClient::getLastResponseCode()
S
82 1 3
SendinblueApiClient::updateUser()
S
78 1 3
SIB_Manager::sib_query_vars()
S
77 1 4
SIB_Page_Statistics::enqueue_styles()
S
69 1 7
SIB_Model_Users::update_element()
S
68 1 6
SendinblueApiClient::put()
S
79 1 3
SendinblueAccount::getLastResponseCode()
S
82 1 3
SendinblueApiClient::getSenders()
S
80 1 3
SIB_Model_Contact::remove_record()
S
71 1 5
SIB_Forms::forms_table_exists()
S
74 1 4
SIB_Manager::sib_wp_login_identify()
S
68 1 8
SendinblueApiClient::createInstallationInfo()
S
79 1 3
SIB_Manager::deactivate()
S
73 1 5
SIB_Model_Contact::remove_table()
S
72 1 5
SendinblueApiClient::createAttribute()
S
78 1 3
SIB_Page_Scenarios::enqueue_styles()
S
72 1 6
SendinblueApiClient::getListsIds()
S
78 1 3
SendinblueApiClient::createUser()
S
79 1 3
SendinblueAccount::setSendinblueAccountData()
S
81 1 3
SendinblueApiClient::getUser()
S
79 1 3
SIB_Page_Scenarios::__construct()
S
68 1 6
SIB_Forms_List::get_sortable_columns()
S
69 1 7
SIB_Widget_Subscribe::update()
S
68 1 8
SIB_Forms_List::no_items()
S
80 1 3
Sendinblue::do_request()
S
68 1 6
SendinblueApiClient::getLists()
S
79 1 3
SendinblueApiClient::createFolder()
S
79 1 3
SendinblueApiClient::getAttributes()
S
80 1 3
SIB_API_Manager::remove_transients()
S
64 1 10
SIB_Forms::removeTable()
S
72 1 5
SendinblueAccount::setLastResponseCode()
S
81 1 3
set_magic_quotes()
S
83 1 3
SendinblueApiClient::sendEmail()
S
79 1 3
SIB_Manager::register_scripts()
S
67 1 7
SendinblueApiClient::getSmsCampaigns()
S
79 1 3
get_magic_quotes()
S
83 1 3
SIB_Page_Home::enqueue_styles()
S
72 1 6
SIB_Page_Form::generate_welcome_page()
S
70 1 8
SIB_Model_Users::remove_record()
S
71 1 5
SIB_SMS_Code::get_sms_code_list()
S
82 1 3
SIB_Manager::LoadTextDomain()
S
69 1 6
SIB_Page_Statistics::enqueue_scripts()
S
66 1 10
SIB_Manager::frontend_register_scripts()
S
100 1 2
SIB_Forms_List::record_count()
S
76 1 4
SIB_Forms::removeAllForms()
S
72 1 5
SendinblueApiClient::__construct()
S
80 1 3
SIB_Manager::register_styles()
S
69 1 6
SendinblueApiClient::createList()
S
79 1 3
SIB_Page_Form::ajax_get_attributes()
S
67 1 8
SIB_Page_Home::ajax_remove_cache()
S
75 1 4
SIB_Manager::admin_init()
S
69 1 7
SIB_Manager::wp_mail_native()
S
76 1 4
SIB_Page_Form::enqueue_styles()
S
70 1 7
SendinblueAccount::getSendinblueAccountData()
S
82 1 3