NewsletterModule D

Total Complexity 215
Dependencies 7
Dependents 4
Total lines 1,171
Lines of code 754
Logical lines of code 493
Comment lines 255
Methods 70
Properties 1

Methods 70

Method Rating Maintainability Complexity Lines of code
replace()
C
30 24 109
antibot_form_check()
A
48 12 32
check_user()
A
49 11 31
build_message_url()
A
50 8 28
get_user_status_label()
A
52 8 25
get_user_from_request()
S
53 7 22
get_post_image()
S
53 7 21
get_current_user()
S
57 7 16
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
57 4 15
is_current_user_dummy()
S
61 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_language()
S
72 3 6
update_user_ip()
S
64 3 10
get_customfields_public()
S
66 3 9
get_user_count()
S
64 3 9
to_int_id()
S
66 3 9
build_action_url()
S
63 3 10
to_array()
S
63 2 11
get_user_from_logged_in_user()
S
72 2 6
extract_body()
S
63 2 10
get_home_url()
S
69 2 7
format_date()
S
69 2 6
get_customfield()
S
68 2 8
get_list()
S
68 2 7
update_user_last_activity()
S
68 2 7
__get()
S
74 2 5
percent()
S
71 2 5
percentValue()
S
72 2 5
check_signature()
S
68 2 7
get_lists()
S
67 2 8
antibot_unsubscription()
S
76 1 4
get_signature()
S
75 1 4
clean_eol()
S
70 1 6
set_current_language()
S
82 1 3
antibot_subscription()
S
76 1 4
is_default_language()
S
80 1 3
generate_admin_notification_message()
S
69 1 6
generate_admin_notification_subject()
S
74 1 4
__construct()
S
81 1 3
request_to_antibot_form()
S
76 1 4
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_subscribe_url()
S
81 1 3
get_user_edit_url()
S
75 1 4
set_user_cookie()
S
76 1 3
delete_user_cookie()
S
77 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
get_lists_for_profile()
S
82 1 3
is_admin_page()
S
83 1 3