NewsletterModuleBase D

Total Complexity 226
Dependencies 10
Dependents 0
Total lines 1,167
Lines of code 750
Logical lines of code 466
Comment lines 242
Methods 78
Properties 10

Methods 78

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_posts()
A
52 8 25
get_email()
A
53 8 24
is_email()
S
55 7 22
get_email_type_label()
S
53 7 22
get_wp_query()
S
55 7 21
get_languages()
S
53 7 20
get_locale()
S
55 7 18
get_user()
S
54 6 21
get_email_status_label()
S
56 6 18
show_email_progress_numbers()
S
59 5 13
get_emails()
S
57 4 17
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
sanitize_gender()
S
63 4 10
delete_user()
S
58 3 15
switch_language()
S
67 4 8
get_user_meta()
S
61 3 12
delete_email()
S
61 3 12
add_qs()
S
63 3 11
get_user_key()
S
65 3 9
get_user_token()
S
65 3 10
process_ip()
S
65 3 10
to_int_id()
S
66 3 9
dienow()
S
68 3 7
get_prefix()
S
69 3 6
get_email_status_slug()
S
68 3 7
get_email_progress_label()
S
69 3 6
add_user_log()
S
60 2 12
to_array()
S
63 2 11
get_emails_by_status()
S
62 2 11
save_user_meta()
S
62 2 11
__construct()
S
66 2 9
get_action_base_url()
S
69 2 7
get_email_progress()
S
78 2 3
dump_die()
S
72 2 6
dump()
S
75 2 5
get_default_text()
S
71 2 6
get_text()
S
74 2 4
get_default_options()
S
72 2 6
query()
S
65 2 10
get_results()
S
66 2 9
get_option_array()
S
69 2 7
insert()
S
66 2 8
normalize_name()
S
65 2 9
normalize_email()
S
69 2 7
get_user_by_email()
S
65 2 9
anonymize_ip()
S
67 2 8
set_user_list()
S
69 2 6
get_email_key()
S
71 2 6
get_lists()
S
67 2 8
clean_eol()
S
70 1 6
is_multilanguage()
S
82 1 3
plugin_url()
S
81 1 3
language()
S
82 1 3
set_user_field()
S
79 1 3
show_email_status_label()
S
78 1 3
get_current_language()
S
82 1 3
restore_language()
S
78 1 4
is_allowed()
S
82 1 3
sanitize_file_name()
S
79 1 3
clean_url_tags()
S
69 1 6
m2t()
S
68 1 6
refresh_user_token()
S
70 1 6
get_email_field()
S
79 1 3
set_user_status()
S
66 1 7
get_token()
S
78 1 3
delete_user_meta()
S
74 1 4
sanitize_email()
S
80 1 3
set_user_wp_user_id()
S
79 1 3
normalize_sex()
S
80 1 3
get_test_users()
S
80 1 3
sanitize_name()
S
80 1 3
get_user_by_wp_user_id()
S
79 1 3