Better_Messages_Chats D

Total Complexity 149
Dependencies 2
Dependents 2
Total lines 1,056
Lines of code 781
Logical lines of code 428
Comment lines 21
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
save_post()
D
31 34 112
sync_auto_add_users()
B
33 13 117
rest_thread_item()
A
38 14 62
layout()
A
45 9 38
get_chat_thread_id()
S
46 5 41
get_chat_settings()
S
47 5 35
on_user_register()
S
53 5 23
get_chat_participants()
S
47 4 38
sync_roles_update()
S
53 5 22
before_message_send()
S
59 5 13
auto_join_enabled()
S
60 5 12
check_if_chat_room_guests_allowed()
S
61 5 12
leave_chat()
S
48 3 35
user_can_reply()
S
60 4 13
user_can_join()
S
59 4 13
guest_registered()
S
56 3 19
on_message_sent()
S
62 3 10
is_chat_room()
S
68 3 7
register_post_type()
S
49 1 30
chat_thread_title()
S
63 3 10
bpbm_chat_settings()
S
59 2 13
add_to_chat()
S
62 2 11
setup_actions()
S
55 1 18
on_chat_update()
S
58 1 17
rest_api_init()
S
58 1 17
instance()
S
68 2 8
on_chat_delete()
S
68 2 7
user_is_admin()
S
80 1 3
chat_participants()
S
77 1 3
on_user_role_change()
S
76 1 4
join_chat()
S
64 1 9
register_meta_box()
S
66 1 9