NewsletterModuleBase D

Total Complexity 256
Dependencies 10
Dependents 0
Total lines 1,364
Lines of code 872
Logical lines of code 549
Comment lines 292
Methods 91
Properties 10

Methods 91

Method Rating Maintainability Complexity Lines of code
save_email()
A
51 10 26
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
show_email_progress_numbers()
S
59 5 13
get_emails()
S
57 4 17
get_user_key()
S
64 5 9
get_user_token()
S
64 5 10
sanitize_ip()
S
60 4 13
get_lists_public()
S
62 4 12
get_remote_ip()
S
62 4 11
sanitize_gender()
S
62 4 11
anonymize_user()
S
56 3 18
set_lock()
S
55 3 18
switch_language()
S
67 4 8
delete_user()
S
58 3 15
delete_email()
S
61 3 12
get_user_meta()
S
61 3 12
build_action_url()
S
62 3 11
get_dummy_user()
S
56 2 18
to_int_id()
S
66 3 9
build_action_url_ajax()
S
64 3 10
process_ip()
S
65 3 10
get_email_progress_label()
S
69 3 6
get_prefix()
S
69 3 6
get_email_status_slug()
S
68 3 7
dienow()
S
67 3 8
get_email_key()
S
69 3 7
add_user_log()
S
60 2 12
save_user_meta()
S
62 2 11
get_emails_by_status()
S
62 2 11
to_array()
S
63 2 11
sanitize_language()
S
74 2 4
dump()
S
75 2 5
get_option_array()
S
69 2 7
get_action_base_url()
S
69 2 7
get_email_progress()
S
78 2 3
sanitize_name()
S
68 2 7
sanitize_user_field()
S
62 2 10
redirect_local()
S
64 2 10
normalize_email()
S
69 2 7
dump_die()
S
72 2 6
__construct()
S
66 2 9
add_qs()
S
68 2 7
set_user_list()
S
69 2 6
get_results()
S
66 2 9
get_user_by_email()
S
65 2 9
query()
S
65 2 10
get_default_options()
S
72 2 6
refresh_user_token()
S
65 2 9
get_text()
S
74 2 4
get_lists()
S
67 2 8
get_row()
S
66 2 9
insert()
S
66 2 8
get_default_text()
S
71 2 6
anonymize_ip()
S
67 2 8
restore_language()
S
78 1 4
get_current_language()
S
82 1 3
language()
S
82 1 3
show_email_status_label()
S
78 1 3
redirect()
S
77 1 4
plugin_url()
S
81 1 3
is_multilanguage()
S
82 1 3
get_email_default_text_part()
S
79 1 3
get_test_users()
S
80 1 3
clean_eol()
S
70 1 6
normalize_sex()
S
80 1 3
is_allowed()
S
82 1 3
get_email_field()
S
79 1 3
normalize_name()
S
80 1 3
get_user_by_wp_user_id()
S
79 1 3
set_user_wp_user_id()
S
79 1 3
sanitize_country()
S
79 1 3
set_user_field()
S
79 1 3
clean_url_tags()
S
69 1 6
sanitize_email()
S
80 1 3
get_token()
S
78 1 3
set_user_status()
S
66 1 7
delete_user_meta()
S
74 1 4
m2t()
S
68 1 6
sanitize_file_name()
S
79 1 3
reset_lock()
S
71 1 5