Code Analysis: WebFacing™ - Email Accounts management & Account backup in cPanel® 4.6.2

Function Rating Maintainability Complexity Lines of code
WebFacing\cPanel\Email\SiteHealth::admin()
D
4
84 503
WebFacing\cPanel\Email\NewEmail::admin()
D
12
36 538
WebFacing\cPanel\Email\AccountsTable::process_bulk_action()
D
20
43 254
WebFacing\cPanel\Email\AccountsPage::admin()
D
23
29 194
WebFacing\cPanel\Email\TokensTable::process_bulk_action()
D
27
30 149
WebFacing\cPanel\Email\BackupsTable::process_bulk_action()
C
27
26 157
WebFacing\cPanel\Email\TokensPage::admin()
C
27
24 157
WebFacing\cPanel\UAPI::result()
C
42 28 42
WebFacing\cPanel\Email\NewEmail::save()
C
33 24 84
WebFacing\cPanel\Email\ContactsPage::admin()
B
30 17 130
WebFacing\cPanel\UAPI::set_contact_info()
B
42 18 47
WebFacing\cPanel\UAPI::backups()
B
39 16 58
WebFacing\cPanel\Email\BoxesPage::admin()
A
36 11 88
WebFacing\cPanel\Email\AccountsTable::column_email()
A
35 9 105
WebFacing\cPanel\Email\BoxesTable::process_bulk_action()
A
41 12 57
WebFacing\cPanel\Email\TokensTable::column_default()
A
51 13 21
WebFacing\cPanel\Email\TokensTable::table_data()
A
45 11 42
WebFacing\cPanel\Email\BackupsTable::column_default()
A
50 12 23
error_log()
A
49 11 28
WebFacing\cPanel\Email\BackupsPage::admin()
A
38 7 76
WebFacing\cPanel\Email\ShortCode::load()
A
44 9 38
WebFacing\cPanel\Email\AccountsTable::column_default()
A
56 10 16
WebFacing\cPanel\Email\AccountsTable::table_data()
A
41 7 59
WebFacing\cPanel\Email\BackupsTable::table_data()
A
47 8 32
WebFacing\cPanel\Email\TokensTable::column_name()
S
49 7 30
WebFacing\cPanel\Email\SiteHealth::disk_space_test()
S
44 6 43
WebFacing\cPanel\UAPI::call()
S
50 7 23
WebFacing\cPanel\UAPI::token_add()
S
55 7 18
WebFacing\cPanel\UAPI::trace()
S
51 6 21
WebFacing\cPanel\UAPI::add_fail()
S
53 6 21
WebFacing\cPanel\UAPI::set_password()
S
53 6 21
WebFacing\cPanel\Email\BackupsTable::column_name()
S
46 5 35
WebFacing\cPanel\UAPI::set_default_fail()
S
54 6 19
WebFacing\cPanel\UAPI::restore_backup()
S
54 6 18
mb_str_replace()
S
56 6 17
WebFacing\cPanel\UAPI::delete_forward()
S
56 6 17
WebFacing\cPanel\UAPI::validate_token()
S
57 6 14
WebFacing\cPanel\UAPI::set_always_accept()
S
59 6 12
WebFacing\cPanel\UAPI::add_responder()
S
51 5 24
WebFacing\cPanel\UAPI::add_account()
S
54 5 19
WebFacing\cPanel\UAPI::add_blackhole()
S
55 5 18
WebFacing\cPanel\Email\SiteHealth::cpanel_notifications_test()
S
47 4 33
WebFacing\cPanel\UAPI::set_quota()
S
55 5 18
WebFacing\cPanel\Email\ContactsPage::notice()
S
49 4 33
WebFacing\cPanel\UAPI::add_forwarder()
S
55 5 18
WebFacing\cPanel\UAPI::delete_account()
S
56 5 16
WebFacing\cPanel\UAPI::set_default_email()
S
56 5 16
WebFacing\cPanel\UAPI::set_shell()
S
63 6 9
WebFacing\cPanel\Email\SiteHealth::cpanel_notfications_domain_test()
S
48 4 30
WebFacing\cPanel\UAPI::send_settings()
S
57 5 15
WebFacing\cPanel\UAPI::set_default_blackhole()
S
57 5 15
WebFacing\cPanel\UAPI::delete_responder()
S
58 5 14
WebFacing\cPanel\UAPI::token_rename()
S
60 5 12
WebFacing\cPanel\UAPI::token_delete()
S
60 5 12
WebFacing\cPanel\UAPI::restored_backups()
S
59 5 12
WebFacing\cPanel\Email\NewEmail::guides()
S
46 3 37
WebFacing\cPanel\Email\AccountsTable::prepare_items()
S
47 3 35
WebFacing\cPanel\Email\BoxesTable::display_mailbox()
S
56 4 16
WebFacing\cPanel\Email\SiteHealth::is_bool()
S
66 5 7
array_is_list()
S
61 4 13
WebFacing\cPanel\Email\AccountsTable::column_cb()
S
61 4 12
WebFacing\cPanel\Email\BoxesTable::column_default()
S
62 4 11
WebFacing\cPanel\Email\AccountsTable::sort_data()
S
60 4 11
WebFacing\cPanel\Email\BoxesTable::table_data()
S
58 3 15
WebFacing\cPanel\Email\SiteHealth::email_routing_test()
S
50 2 29
WebFacing\cPanel\UAPI::trace_destinations()
S
58 3 13
WebFacing\cPanel\UAPI::email_accounts()
S
61 3 12
WebFacing\cPanel\Email\SiteHealth::cpanel_two_factor_test()
S
51 2 25
WebFacing\cPanel\Email\BoxesTable::prepare_items()
S
53 2 23
var_export()
S
65 3 9
WebFacing\cPanel\UAPI::has_features()
S
67 3 7
WebFacing\cPanel\UAPI::validate_shell()
S
63 3 9
WebFacing\cPanel\Email\BoxesTable::column_messages()
S
57 2 15
WebFacing\cPanel\Email\TokensTable::column_cb()
S
66 3 8
WebFacing\cPanel\Email\BackupsTable::extra_tablenav()
S
69 3 5
WebFacing\cPanel\Email\NewEmail::notice()
S
60 2 12
WebFacing\cPanel\Email\BackupsTable::prepare_items()
S
56 1 18
WebFacing\cPanel\Email\TokensTable::prepare_items()
S
56 1 18
WebFacing\cPanel\Email\BoxesTable::sort_data()
S
65 2 8
str_ends_with()
S
74 2 4
WebFacing\cPanel\Email\BackupsTable::column_cb()
S
67 2 8
WebFacing\cPanel\UAPI::email_disk_usage()
S
67 2 7
WebFacing\cPanel\UAPI::server_info()
S
68 2 7
WebFacing\cPanel\UAPI::auto_accept()
S
65 2 8
WebFacing\cPanel\Email\BoxesTable::column_cb()
S
67 2 8
str_starts_with()
S
74 2 4
WebFacing\cPanel\UAPI::session_info()
S
68 2 7
WebFacing\cPanel\Email\TokensTable::sort_data()
S
65 2 8
WebFacing\cPanel\Email\AccountsTable::get_hidden_columns()
S
79 2 3
WebFacing\cPanel\UAPI::email_responders()
S
69 2 6
WebFacing\cPanel\Email\BackupsTable::get_hidden_columns()
S
78 2 3
WebFacing\cPanel\Email\AccountsTable::display_type()
S
77 2 3
WebFacing\cPanel\UAPI::set_locale()
S
75 2 3
WebFacing\cPanel\UAPI::get_defined_api_token()
S
78 2 3
WebFacing\cPanel\UAPI::email_mailboxes()
S
70 2 5
WebFacing\cPanel\Email\BackupsTable::sort_data()
S
65 2 8
WebFacing\cPanel\UAPI::create_backup()
S
77 2 3
WebFacing\cPanel\UAPI::user()
S
68 2 7
WebFacing\cPanel\Email\AccountsTable::column_domain()
S
72 2 4
WebFacing\cPanel\UAPI::delete_messages()
S
70 2 5
WebFacing\cPanel\UAPI::all_queued_emails()
S
67 2 7
WebFacing\cPanel\Email\BackupsTable::get_columns()
S
59 1 14
WebFacing\cPanel\Email\AccountsTable::get_columns()
S
60 1 13
WebFacing\cPanel\Email\TokensTable::get_columns()
S
61 1 12
WebFacing\cPanel\Email\BoxesTable::get_columns()
S
61 1 12
translate_nooped_plural()
S
79 1 3
mb_str_ends_with()
S
75 1 4
WebFacing\cPanel\UAPI::two_factor()
S
78 1 3
WebFacing\cPanel\UAPI::main_email_account()
S
64 1 9
WebFacing\cPanel\UAPI::get_user_info()
S
78 1 3
WebFacing\cPanel\Email\BackupsTable::get_bulk_actions()
S
71 1 6
WebFacing\cPanel\Email\TokensTable::get_bulk_actions()
S
71 1 6
__()
S
79 1 3
WebFacing\cPanel\UAPI::email_forwarders()
S
78 1 3
mb_ucwords()
S
79 1 3
WebFacing\cPanel\Email\AccountsTable::get_bulk_actions()
S
68 1 7
_nx()
S
78 1 3
WebFacing\cPanel\UAPI::user_created()
S
77 1 3
delete_option()
S
79 1 3
WebFacing\cPanel\Email\TokensTable::x_get_sortable_columns()
S
74 1 5
WebFacing\cPanel\UAPI::email_responder()
S
74 1 4
_x()
S
79 1 3
WebFacing\cPanel\Email\BoxesTable::get_bulk_actions()
S
71 1 6
WebFacing\cPanel\UAPI::home_path()
S
78 1 3
WebFacing\cPanel\UAPI::quotas()
S
78 1 3
_e()
S
80 1 3
WebFacing\cPanel\UAPI::user_updated()
S
77 1 3
WebFacing\cPanel\UAPI::queued_emails()
S
77 1 3
WebFacing\cPanel\UAPI::maximum_emails()
S
78 1 3
_n()
S
78 1 3
WebFacing\cPanel\UAPI::main_disk_usage()
S
78 1 3
WebFacing\cPanel\Email\BoxesTable::get_hidden_columns()
S
79 1 3
_n_noop()
S
79 1 3
esc_html__()
S
79 1 3
mb_str_starts_with()
S
75 1 4
idn_to_utf8()
S
83 1 3
WebFacing\cPanel\Email\BackupsTable::x_get_sortable_columns()
S
67 1 8
WebFacing\cPanel\Email\TokensTable::get_hidden_columns()
S
82 1 3
WebFacing\cPanel\Email\AccountsTable::get_sortable_columns()
S
67 1 8
update_option()
S
79 1 3
WebFacing\cPanel\Email\BoxesTable::get_sortable_columns()
S
69 1 7
WebFacing\cPanel\UAPI::main_domain()
S
78 1 3
WebFacing\cPanel\UAPI::default_address()
S
77 1 3
get_option()
S
79 1 3
WebFacing\cPanel\UAPI::tokens()
S
78 1 3
WebFacing\cPanel\UAPI::create_webmail_session()
S
63 1 8
esc_html_x()
S
79 1 3
WebFacing\cPanel\UAPI::mail_domains()
S
71 1 5
WebFacing\cPanel\UAPI::count_emails()
S
78 1 3
_ex()
S
79 1 3
WebFacing\cPanel\UAPI::feature_names()
S
74 1 4
WebFacing\cPanel\UAPI::create_main_webmail_session()
S
70 1 5
WebFacing\cPanel\UAPI::webmail_settings()
S
78 1 3
WebFacing\cPanel\Email\AccountsTable::column_diskused()
S
74 1 3
WebFacing\cPanel\Email\BackupsTable::time_from_file()
S
78 1 3