Better_Messages_Functions D

Total Complexity 593
Dependencies 8
Dependents 2
Total lines 3,542
Lines of code 2,539
Logical lines of code 1,357
Comment lines 259
Methods 161
Properties 1

Methods 161

Method Rating Maintainability Complexity Lines of code
new_message()
D
24
43 162
add_hash_arg()
B
36 22 80
delete_message()
A
38 14 71
get_thread_type()
A
45 16 38
is_thread_super_moderator()
A
42 15 53
is_network_subsite_and_has_license()
A
46 14 35
find_existing_threads()
A
38 10 78
get_link()
A
48 13 30
get_group_page()
A
44 12 41
can_invite()
A
53 11 21
get_private_conversation_id()
A
47 9 37
get_avatar()
A
43 8 46
get_friends_sorted()
A
48 8 33
can_start_conversation()
A
48 7 35
messages_classes()
A
50 7 31
update_message()
S
45 6 41
get_page()
S
50 7 26
truncate()
S
52 7 24
hex2rgba()
S
52 7 24
minify_html()
S
44 5 48
get_unique_conversation_id()
S
48 6 33
rest_user_item()
S
48 6 32
get_member_id()
S
57 7 17
get_message_ranges()
S
52 6 26
format_message()
S
55 6 18
get_search_stacks()
S
44 4 48
can_leave()
S
58 6 14
get_users_sorted()
S
50 5 29
filter_message_content()
S
49 5 28
get_displayed_user_id()
S
61 6 13
get_recipients()
S
51 5 27
add_participant_to_thread()
S
53 5 24
remove_participant_from_thread()
S
53 5 23
get_messages()
S
50 4 35
create_conversation_link()
S
55 5 20
create_new_conversation()
S
53 5 20
get_starred_stacks()
S
44 3 49
check_access()
S
56 5 18
get_user_muted_threads()
S
56 5 17
is_valid_user_id()
S
59 5 16
get_thread_title()
S
59 5 13
can_reply_in_conversation()
S
56 4 20
license_proposal()
S
56 4 18
record_message_edit_history()
S
58 4 16
is_user_exists()
S
61 4 14
array_insert_after()
S
61 4 13
get_microtime()
S
60 4 13
user_has_role()
S
61 4 13
array_insert_before()
S
61 4 13
check_this_is_multsite()
S
63 4 12
get_undeleted_recipients()
S
62 4 12
update_message_update_time()
S
62 4 12
is_thread_participant()
S
55 3 21
decrease_unread()
S
55 3 19
clear_thread()
S
57 3 17
get_missed_message_ids()
S
56 3 17
erase_thread()
S
56 3 16
messages_mark_thread_read()
S
57 3 16
minify_css()
S
51 2 31
get_participants()
S
58 3 16
pm_link()
S
59 3 15
get_thread()
S
60 3 13
render_login_form()
S
50 1 43
clean_no_subject()
S
62 3 12
check_chat_room_access()
S
63 3 11
is_user_participant()
S
62 3 11
get_user_secret_key()
S
63 3 11
get_user_roles()
S
63 3 11
get_restrict_to_roles()
S
62 3 11
minify_js()
S
57 2 19
get_message_last_edit()
S
64 3 9
is_ajax()
S
69 3 6
get_recipients_ids()
S
64 3 9
is_friends()
S
68 3 7
get_name()
S
63 3 10
get_rest_avatar()
S
68 3 7
get_threads()
S
66 3 8
check_created_time()
S
63 3 10
get_total_threads_for_user()
S
62 3 10
can_start_new_conversation()
S
59 2 15
can_moderate_thread()
S
66 3 9
get_user_unread_messages()
S
62 2 12
get_message_by_order()
S
62 2 11
get_user_messages_url()
S
63 2 11
thread_updated_for_user()
S
62 2 11
container_placeholder()
S
59 1 18
get_starred_count()
S
57 1 17
delete_user_meta()
S
69 2 7
get_user_meta()
S
69 2 7
clean_thread_notifications()
S
70 2 6
update_user_meta()
S
68 2 7
plugin_mode()
S
72 2 6
array_map_recursive()
S
70 2 6
get_current_user_id()
S
69 2 7
can_use_premium_code_premium_only()
S
72 2 6
can_use_premium_code()
S
72 2 6
threads_order_sql()
S
65 2 10
remove_moderator()
S
64 2 9
generateRandomString()
S
64 2 9
get_last_activity()
S
66 2 8
threads_placeholder()
S
65 2 9
redirect_to_messages_link()
S
68 2 7
is_thread_moderator()
S
66 2 8
get_moderators()
S
68 2 7
add_moderator()
S
64 2 9
instance()
S
69 2 7
random_string()
S
65 2 8
remove_re()
S
66 2 8
is_only_followers_mode()
S
75 2 4
strip_all_tags()
S
66 2 8
is_conversation_exists()
S
69 2 7
get_thread_image()
S
70 2 6
get_thread_url()
S
70 2 6
get_formatted_time()
S
62 2 10
is_message_starred()
S
66 2 8
is_only_friends_mode()
S
75 2 4
clean_site_url()
S
63 2 10
can_clear_thread()
S
68 2 7
can_erase_thread()
S
68 2 7
is_calls_only_friends()
S
78 2 3
change_thread_subject()
S
62 1 11
get_thread_subject()
S
64 1 10
get_pm_thread_id()
S
78 1 3
before_new_thread_filter()
S
75 1 4
clean_string()
S
69 1 6
add_user_to_thread()
S
79 1 3
before_message_send_filter()
S
75 1 4
get_unique_pm_thread_id()
S
78 1 3
private_message_link()
S
77 1 3
get_thread_count()
S
66 1 9
get_rest_api_url()
S
78 1 3
get_user_unread_for_thread()
S
67 1 8
get_conversation_layout()
S
73 1 4
is_user_authorized()
S
79 1 3
get_thread_message_count()
S
67 1 8
get_message()
S
67 1 8
get_thread_meta()
S
75 1 4
get_threads_html()
S
80 1 3
archive_thread()
S
67 1 7
sanitize_xss()
S
80 1 3
show_avatars()
S
79 1 3
audio_calls_active()
S
79 1 3
video_calls_active()
S
79 1 3
is_verified()
S
79 1 3
is_followers()
S
78 1 3
pre_template_include()
S
79 1 3
after_template_include()
S
91 1 2
is_groups_active()
S
79 1 3
is_followers_active()
S
79 1 3
get_user_thread_url()
S
79 1 3
delete_all_thread_meta()
S
71 1 5
delete_all_message_meta()
S
71 1 5
can_send_message_filter()
S
74 1 4
delete_message_meta()
S
75 1 4
update_message_meta()
S
75 1 4
get_message_meta()
S
75 1 4
add_message_meta()
S
74 1 4
delete_thread_meta()
S
75 1 4
update_thread_meta()
S
75 1 4
get_conversations_layout()
S
73 1 5
is_friends_active()
S
79 1 3