NewsletterModule D

Total Complexity 211
Dependencies 7
Dependents 4
Total lines 1,160
Lines of code 775
Logical lines of code 512
Comment lines 231
Methods 65
Properties 1

Methods 65

Method Rating Maintainability Complexity Lines of code
replace()
C
29 26 117
request_to_antibot_form()
A
41 8 58
check_user()
A
51 10 27
antibot_form_check()
A
51 10 26
build_message_url()
A
50 8 28
get_user_status_label()
A
52 8 25
get_customfields()
S
50 7 26
get_user_from_request()
S
53 7 22
get_post_image()
S
53 7 21
get_current_user()
S
57 7 16
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
sanitize_ip()
S
61 4 12
get_customfields_public()
S
62 4 12
get_remote_ip()
S
62 4 11
get_default_language()
S
65 4 9
replace_date()
S
60 3 12
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
get_user_count()
S
64 3 9
build_action_url()
S
63 3 10
to_int_id()
S
66 3 9
to_array()
S
63 2 11
check_signature()
S
68 2 7
percent()
S
71 2 5
extract_body()
S
63 2 10
get_list()
S
68 2 7
__get()
S
74 2 5
percentValue()
S
72 2 5
format_date()
S
69 2 6
get_customfield()
S
68 2 8
get_home_url()
S
69 2 7
get_user_from_logged_in_user()
S
72 2 6
get_lists()
S
67 2 8
get_signature()
S
75 1 4
clean_eol()
S
70 1 6
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
__construct()
S
81 1 3
get_subscribe_url()
S
81 1 3
get_user_edit_url()
S
75 1 4
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
format_time_delta()
S
65 1 8
is_post_old()
S
79 1 3
set_user_cookie()
S
76 1 3
update_user_ip()
S
74 1 4
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
update_user_last_activity()
S
74 1 4
is_admin_page()
S
83 1 3