Code Analysis: WebFacing™ - Email Accounts management for cPanel® 5.2.2

Function Rating Maintainability Complexity Lines of code
WebFacing\cPanel\Email\SiteHealth::admin()
D
0
173 788
WebFacing\cPanel\Email\NewEmail::admin()
D
4
63 698
WebFacing\cPanel\Email\AccountsTable::process_bulk_action()
D
18
46 279
WebFacing\cPanel\Email\NewEmail::save()
D
22
50 168
WebFacing\cPanel\Email\AccountsPage::admin()
D
22
33 207
WebFacing\cPanel\Email\TokensTable::process_bulk_action()
D
27
33 148
WebFacing\cPanel\Email\TokensPage::admin()
D
25
30 171
WebFacing\cPanel\Email\BackupsTable::process_bulk_action()
C
27
26 156
WebFacing\cPanel\Email\ContactsPage::admin()
B
30 17 129
WebFacing\cPanel\UAPI::set_contact_info()
B
42 18 48
WebFacing\cPanel\UAPI::backups()
B
39 16 58
WebFacing\cPanel\UAPI::result()
A
44 16 40
WebFacing\cPanel\Email\AccountsTable::table_data()
A
38 13 67
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 55
WebFacing\cPanel\Email\TokensTable::column_default()
A
50 14 23
WebFacing\cPanel\Email\TokensTable::table_data()
A
44 12 42
WebFacing\cPanel\Email\ShortCode::load()
A
38 10 65
WebFacing\cPanel\Email\NewEmail::parse_entries()
A
41 10 54
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\AccountsTable::column_default()
A
56 10 16
WebFacing\cPanel\UAPI::validate_token()
A
50 9 24
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::send_settings()
S
50 7 27
WebFacing\cPanel\UAPI::call()
S
50 7 24
WebFacing\cPanel\Email\NewEmail::save_options()
S
53 7 20
WebFacing\cPanel\Email\AccountsTable::sort_data()
S
54 7 19
WebFacing\cPanel\UAPI::token_add()
S
54 7 19
WebFacing\cPanel\Email\NewEmail::batch_entry()
S
50 6 24
WebFacing\cPanel\UAPI::add_fail()
S
52 6 22
WebFacing\cPanel\UAPI::trace()
S
51 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 20
WebFacing\cPanel\UAPI::restore_backup()
S
54 6 18
WebFacing\cPanel\UAPI::delete_forward()
S
55 6 18
mb_str_replace()
S
56 6 17
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
52 5 23
WebFacing\cPanel\UAPI::add_forwarder()
S
52 5 22
WebFacing\cPanel\UAPI::subaccounts()
S
54 5 19
WebFacing\cPanel\UAPI::add_blackhole()
S
54 5 19
WebFacing\cPanel\UAPI::set_quota()
S
54 5 19
WebFacing\cPanel\Email\ContactsPage::notice()
S
49 4 33
WebFacing\cPanel\Email\SiteHealth::cpanel_notifications_test()
S
47 4 33
WebFacing\cPanel\Email\NewEmail::guides()
S
43 3 47
WebFacing\cPanel\UAPI::delete_account()
S
56 5 17
WebFacing\cPanel\UAPI::set_default_email()
S
56 5 17
WebFacing\cPanel\UAPI::set_default_blackhole()
S
57 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::delete_responder()
S
58 5 14
WebFacing\cPanel\UAPI::token_rename()
S
59 5 13
WebFacing\cPanel\UAPI::token_delete()
S
59 5 13
WebFacing\cPanel\UAPI::restored_backups()
S
59 5 12
WebFacing\cPanel\Email\AccountsTable::column_cb()
S
60 5 12
WebFacing\cPanel\Email\AccountsTable::prepare_items()
S
47 3 35
WebFacing\cPanel\Email\BoxesTable::display_mailbox()
S
56 4 16
WebFacing\cPanel\Email\NewEmail::notice()
S
56 4 16
WebFacing\cPanel\Email\SiteHealth::is_bool()
S
66 5 7
array_is_list()
S
61 4 13
WebFacing\cPanel\Email\BoxesTable::column_default()
S
62 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
mb_strrev()
S
62 3 11
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::set_locale()
S
64 3 8
WebFacing\cPanel\UAPI::validate_shell()
S
63 3 9
WebFacing\cPanel\Email\BoxesTable::column_messages()
S
57 2 15
WebFacing\cPanel\UAPI::has_features()
S
67 3 7
WebFacing\cPanel\Email\BackupsTable::extra_tablenav()
S
69 3 5
WebFacing\cPanel\Email\TokensTable::column_cb()
S
66 3 8
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
WebFacing\cPanel\UAPI::create_backup()
S
77 2 3
WebFacing\cPanel\Email\BackupsTable::sort_data()
S
65 2 8
WebFacing\cPanel\UAPI::email_mailboxes()
S
70 2 5
WebFacing\cPanel\UAPI::auto_accept()
S
65 2 8
WebFacing\cPanel\Email\BoxesTable::column_cb()
S
67 2 8
WebFacing\cPanel\Email\AccountsTable::column_domain()
S
72 2 4
WebFacing\cPanel\UAPI::delete_transients()
S
67 2 7
WebFacing\cPanel\Email\AccountsTable::get_hidden_columns()
S
79 2 3
WebFacing\cPanel\UAPI::email_responders()
S
69 2 6
str_starts_with()
S
74 2 4
WebFacing\cPanel\Email\TokensTable::sort_data()
S
65 2 8
WebFacing\cPanel\UAPI::get_defined_api_token()
S
78 2 3
WebFacing\cPanel\UAPI::delete_messages()
S
66 2 7
WebFacing\cPanel\UAPI::server_info()
S
68 2 7
WebFacing\cPanel\UAPI::session_info()
S
68 2 7
str_ends_with()
S
74 2 4
WebFacing\cPanel\UAPI::user()
S
68 2 7
WebFacing\cPanel\Email\BackupsTable::column_cb()
S
67 2 8
WebFacing\cPanel\UAPI::all_queued_emails()
S
67 2 7
WebFacing\cPanel\UAPI::email_disk_usage()
S
67 2 7
WebFacing\cPanel\Email\AccountsTable::display_type()
S
77 2 3
WebFacing\cPanel\Email\BackupsTable::get_hidden_columns()
S
78 2 3
WebFacing\cPanel\Email\BackupsTable::get_columns()
S
59 1 14
WebFacing\cPanel\Email\AccountsTable::get_columns()
S
60 1 13
WebFacing\cPanel\Email\BoxesTable::get_columns()
S
61 1 12
WebFacing\cPanel\Email\TokensTable::get_columns()
S
61 1 12
WebFacing\cPanel\Email\BoxesTable::get_bulk_actions()
S
71 1 6
_ex()
S
79 1 3
WebFacing\cPanel\UAPI::quotas()
S
78 1 3
WebFacing\cPanel\Email\TokensTable::get_hidden_columns()
S
82 1 3
WebFacing\cPanel\Email\AccountsTable::get_sortable_columns()
S
67 1 8
_n_noop()
S
79 1 3
WebFacing\cPanel\UAPI::email_forwarders()
S
78 1 3
esc_html__()
S
79 1 3
WebFacing\cPanel\UAPI::create_webmail_session()
S
63 1 8
WebFacing\cPanel\UAPI::email_responder()
S
74 1 4
WebFacing\cPanel\Email\AccountsTable::column_diskused()
S
74 1 3
WebFacing\cPanel\Email\BackupsTable::get_bulk_actions()
S
71 1 6
WebFacing\cPanel\UAPI::tokens()
S
78 1 3
update_option()
S
79 1 3
WebFacing\cPanel\UAPI::home_path()
S
78 1 3
WebFacing\cPanel\UAPI::default_address()
S
77 1 3
WebFacing\cPanel\UAPI::user_created()
S
77 1 3
_x()
S
79 1 3
WebFacing\cPanel\UAPI::main_email_account()
S
64 1 9
WebFacing\cPanel\Email\BoxesTable::get_sortable_columns()
S
69 1 7
WebFacing\cPanel\Email\BackupsTable::time_from_file()
S
78 1 3
WebFacing\cPanel\Email\AccountsTable::get_bulk_actions()
S
68 1 7
__()
S
79 1 3
WebFacing\cPanel\UAPI::list_domains()
S
78 1 3
esc_html_x()
S
79 1 3
WebFacing\cPanel\UAPI::main_disk_usage()
S
78 1 3
WebFacing\cPanel\Email\TokensTable::x_get_sortable_columns()
S
74 1 5
WebFacing\cPanel\Email\BoxesTable::get_hidden_columns()
S
79 1 3
idn_to_utf8()
S
83 1 3
WebFacing\cPanel\UAPI::feature_names()
S
74 1 4
WebFacing\cPanel\UAPI::main_domain()
S
78 1 3
WebFacing\cPanel\UAPI::webmail_settings()
S
78 1 3
_n()
S
78 1 3
WebFacing\cPanel\UAPI::dead_domains()
S
77 1 3
translate_nooped_plural()
S
79 1 3
WebFacing\cPanel\UAPI::mail_domains()
S
71 1 5
WebFacing\cPanel\UAPI::queued_emails()
S
77 1 3
mb_ucwords()
S
79 1 3
WebFacing\cPanel\UAPI::get_user_info()
S
78 1 3
mb_str_ends_with()
S
75 1 4
delete_option()
S
79 1 3
_nx_noop()
S
78 1 3
_e()
S
80 1 3
WebFacing\cPanel\Email\BackupsTable::x_get_sortable_columns()
S
67 1 8
WebFacing\cPanel\UAPI::two_factor()
S
78 1 3
WebFacing\cPanel\Email\TokensTable::get_bulk_actions()
S
71 1 6
get_option()
S
79 1 3
WebFacing\cPanel\UAPI::count_emails()
S
78 1 3
_nx()
S
78 1 3
WebFacing\cPanel\UAPI::user_updated()
S
77 1 3
WebFacing\cPanel\UAPI::webmail_apps()
S
74 1 4
mb_str_starts_with()
S
75 1 4
WebFacing\cPanel\UAPI::maximum_emails()
S
78 1 3
WebFacing\cPanel\UAPI::create_main_webmail_session()
S
70 1 5