NewsletterModuleBase D

Total Complexity 261
Dependencies 10
Dependents 0
Total lines 1,420
Lines of code 902
Logical lines of code 569
Comment lines 310
Methods 93
Properties 12

Methods 93

Method Rating Maintainability Complexity Lines of code
save_email()
A
50 11 29
show_email_progress_bar()
A
50 8 27
save_user()
A
52 8 25
get_email()
A
53 8 24
sanitize_subscription_data()
S
52 7 25
is_email()
S
55 7 22
get_email_type_label()
S
53 7 22
get_wp_query()
S
55 7 21
get_locale()
S
55 7 18
get_user()
S
54 6 21
get_email_status_label()
S
56 6 18
get_posts()
S
56 5 19
get_languages()
S
56 5 18
sanitize_gender()
S
60 5 14
show_email_progress_numbers()
S
59 5 13
get_emails()
S
57 4 17
get_user_token()
S
64 5 10
get_user_key()
S
64 5 9
sanitize_ip()
S
60 4 13
get_lists_public()
S
62 4 12
get_remote_ip()
S
62 4 11
anonymize_user()
S
56 3 18
set_lock()
S
55 3 18
delete_user()
S
58 3 15
sanitize_user_field()
S
60 3 12
get_user_meta()
S
61 3 12
get_action_base_url()
S
62 3 12
delete_email()
S
61 3 12
build_action_url()
S
62 3 11
get_dummy_user()
S
56 2 18
get_prefix()
S
69 3 6
process_ip()
S
65 3 10
get_email_status_slug()
S
68 3 7
get_email_key()
S
67 3 8
dienow()
S
67 3 8
to_int_id()
S
66 3 9
build_action_url_ajax()
S
64 3 10
get_email_progress_label()
S
69 3 6
add_user_log()
S
60 2 12
get_emails_by_status()
S
62 2 11
to_array()
S
63 2 11
save_user_meta()
S
62 2 11
anonymize_ip()
S
67 2 8
dump()
S
75 2 5
add_qs()
S
68 2 7
get_option_array()
S
69 2 7
normalize_email()
S
69 2 7
sanitize_language()
S
74 2 4
sanitize_name()
S
68 2 7
__construct()
S
66 2 9
dump_die()
S
72 2 6
get_results()
S
66 2 9
redirect_local()
S
64 2 10
restore_language()
S
67 2 8
get_default_text()
S
71 2 6
get_text()
S
74 2 4
get_default_options()
S
72 2 6
get_email_progress()
S
78 2 3
query()
S
65 2 10
get_row()
S
66 2 9
insert()
S
66 2 8
get_user_meta_int()
S
69 2 7
get_user_by_email()
S
65 2 9
refresh_user_token()
S
65 2 9
get_lists()
S
67 2 8
set_user_list()
S
69 2 6
clean_eol()
S
70 1 6
clean_url_tags()
S
69 1 6
get_email_default_text_part()
S
79 1 3
sanitize_file_name()
S
79 1 3
redirect()
S
77 1 4
show_email_status_label()
S
78 1 3
get_email_field()
S
79 1 3
get_token()
S
78 1 3
set_user_status()
S
66 1 7
is_multilanguage()
S
82 1 3
plugin_url()
S
81 1 3
language()
S
82 1 3
get_current_language()
S
82 1 3
switch_language()
S
67 1 8
get_test_users()
S
80 1 3
delete_user_meta()
S
74 1 4
set_user_field()
S
79 1 3
sanitize_email()
S
80 1 3
set_user_wp_user_id()
S
79 1 3
get_user_by_wp_user_id()
S
79 1 3
get_emails_blocked_count()
S
72 1 5
is_allowed()
S
82 1 3
m2t()
S
68 1 6
normalize_name()
S
80 1 3
sanitize_country()
S
79 1 3
normalize_sex()
S
80 1 3
reset_lock()
S
71 1 5