NewsletterModule D

Total Complexity 219
Dependencies 7
Dependents 4
Total lines 1,268
Lines of code 834
Logical lines of code 566
Comment lines 246
Methods 70
Properties 1

Methods 70

Method Rating Maintainability Complexity Lines of code
replace()
C
30 22 111
antibot_form_check()
A
48 14 32
replace_for_email()
A
35 9 82
get_current_user()
A
50 9 27
build_message_url()
A
50 8 29
get_user_status_label()
A
52 8 25
check_user()
A
52 8 24
get_user_from_request()
S
53 7 22
get_post_image()
S
53 7 21
get_customfields()
S
52 6 22
get_options()
S
53 5 24
date()
S
55 5 19
get_option()
S
57 5 17
split_posts()
S
58 5 15
inline_css()
S
54 4 20
replace_date()
S
56 4 17
is_current_user_dummy()
S
60 4 12
sanitize_ip()
S
61 4 12
get_remote_ip()
S
62 4 11
get_default_language()
S
65 4 9
check_transient()
S
60 3 12
get_email_from_request()
S
62 3 11
replace_url()
S
56 2 18
get_user_count()
S
64 3 9
get_customfields_public()
S
66 3 9
update_user_ip()
S
64 3 10
get_user_language()
S
72 3 6
to_int_id()
S
66 3 9
to_array()
S
63 2 11
get_lists()
S
67 2 8
get_list()
S
68 2 7
get_home_url()
S
69 2 7
format_date()
S
69 2 6
get_customfield()
S
68 2 8
update_user_last_activity()
S
68 2 7
__get()
S
74 2 5
extract_body()
S
63 2 10
percent()
S
69 2 6
percentValue()
S
70 2 6
check_signature()
S
68 2 7
antibot_unsubscription()
S
76 1 4
antibot_subscription()
S
76 1 4
clean_eol()
S
70 1 6
request_to_antibot_form()
S
76 1 4
set_current_language()
S
82 1 3
is_default_language()
S
80 1 3
generate_admin_notification_message()
S
69 1 6
generate_admin_notification_subject()
S
74 1 4
get_signature()
S
75 1 4
__construct()
S
81 1 3
get_subscribe_url()
S
81 1 3
format_time_delta()
S
65 1 8
get_main_options()
S
80 1 3
get_main_option()
S
79 1 3
get_last_run()
S
78 1 3
save_last_run()
S
79 1 3
add_to_last_run()
S
75 1 4
delete_transient()
S
79 1 3
m2t()
S
68 1 6
is_post_old()
S
79 1 3
get_lists_for_profile()
S
82 1 3
get_user_edit_url()
S
75 1 4
set_user_cookie()
S
77 1 3
delete_user_cookie()
S
77 1 3
get_user_from_logged_in_user()
S
83 1 3
get_profiles_public()
S
82 1 3
get_profile()
S
81 1 3
get_profiles()
S
82 1 3
get_lists_for_subscription()
S
82 1 3
is_admin_page()
S
83 1 3