Better_Messages_Hooks D

Total Complexity 400
Dependencies 22
Dependents 3
Total lines 1,945
Lines of code 1,459
Logical lines of code 931
Comment lines 57
Methods 72
Properties 0

Methods 72

Method Rating Maintainability Complexity Lines of code
__construct()
D
17
63 218
catch_fast_thread()
B
40 19 52
script_variables()
B
44 19 47
inbox_counter_javascript()
A
38 9 114
disable_start_thread_if_user_restricted()
A
46 14 36
disable_replied_role_to_role_block()
A
47 11 37
disable_replied_role_to_role_allow()
A
47 11 36
mobile_popup_button()
A
49 11 27
exclude_attachments_global()
A
52 11 24
disable_message_for_new_replies_rate_limited()
A
45 9 43
chat_page()
A
50 10 28
new_replies_rate_limit()
A
46 9 37
disable_start_thread_role_to_role_allow()
A
53 8 22
disable_start_thread_role_to_role_block()
A
54 8 22
beehive_theme_integration()
S
43 4 71
disable_message_for_blocked_user()
S
52 7 24
admin_notice()
S
55 7 19
replace_unread_count()
S
57 7 17
reply_message_formatting()
S
50 6 25
asragaros_profile_messages()
S
52 6 24
disable_message_to_deleted_users()
S
55 6 19
disable_start_thread_if_thread_exist()
S
55 6 18
disable_start_thread_for_non_friends()
S
56 6 17
asragaros_profile_link()
S
51 5 23
hide_message_for_restricted_role()
S
57 5 17
disable_new_thread_with_bad_word()
S
57 5 16
disable_non_friends_reply()
S
57 5 15
mute_thread_delete_notification()
S
60 5 12
pm_link_bbpress()
S
60 5 11
disable_message_for_blocked_restricted_role()
S
57 4 17
disable_fast_mode()
S
59 4 15
disable_thread_for_blocked_restricted_role()
S
59 4 14
disable_new_thread_button_if_needed()
S
59 4 14
disable_reply_with_bad_word()
S
58 4 14
mute_thread_remove_standard_email()
S
59 4 13
css_customizations()
S
60 4 12
new_thread_rate_limit()
S
60 4 12
redirect_to_messages()
S
62 4 12
role_to_role_allow_search_user_sql_condition()
S
57 3 16
exclude_attachments()
S
59 3 15
role_to_role_block_search_user_sql_condition()
S
58 3 14
disable_archived_reply()
S
61 3 12
cron_intervals()
S
55 2 21
max_height_css()
S
64 3 9
wp_on_deleted_user()
S
71 3 5
heartbeat_unread_notifications()
S
67 3 8
flush_rewrite_rules()
S
64 3 10
disable_group_threads()
S
65 3 8
asragaros_thread_view()
S
63 3 9
themes_adaptation()
S
62 2 13
override_last_activity()
S
70 2 6
bm_on_deleted_user()
S
64 2 9
update_db_if_needed()
S
72 2 6
reply_message_meta()
S
68 2 7
woocommerce_add_messages_endpoint()
S
66 2 8
disable_new_thread_button_if_disallowed()
S
66 2 8
woocommerce_add_messages_link_my_account()
S
63 2 10
update_last_activity()
S
70 2 7
disable_thread_for_pmpro_restricted_role()
S
71 2 5
disable_messages_for_pmpro_restricted_role()
S
66 2 8
instance()
S
69 2 7
woocommerce_messages_content()
S
80 1 3
woocommerce_messages_query_vars()
S
73 1 5
new_thread_record_last_thread_time()
S
75 1 4
disableStatuses()
S
87 1 3
on_message_sent()
S
91 1 2
on_user_update()
S
91 1 2
settings_updated()
S
91 1 2
clean_thread_cache()
S
72 1 5
allow_additional_tags()
S
71 1 6
thread_updated()
S
65 1 9
hide_admin_counter()
S
82 1 3