Better_Messages_Rest_Api D

Total Complexity 246
Dependencies 5
Dependents 2
Total lines 1,942
Lines of code 1,512
Logical lines of code 764
Comment lines 13
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
get_threads()
D
22
30 216
checkNew()
C
34 28 84
get_messages()
B
33 17 100
send_message()
B
36 17 80
can_reply()
A
39 14 68
rest_api_init()
A
29 3 196
get_thread()
A
42 12 51
load_more()
A
41 11 59
get_user_suggestions()
A
48 11 32
delete_messages()
A
48 9 34
save_message()
A
41 7 59
lazy_pool()
A
45 8 42
check_unloaded_threads()
A
40 6 68
start_new_thread()
A
45 7 42
get_suggestions()
A
46 7 39
get_pm_thread()
S
54 7 19
catch_unauthorized()
S
57 7 16
restore_thread()
S
46 4 40
check_thread_access()
S
52 4 25
delete_thread()
S
53 4 24
search_participants()
S
52 3 26
mute_thread()
S
53 3 24
unmute_thread()
S
53 3 24
suggest_thread()
S
62 4 10
check_missing_threads()
S
58 2 15
openThreads()
S
65 3 9
__construct()
S
53 1 24
instance()
S
69 2 7
is_user_authorized()
S
71 2 6
get_unique_conversation()
S
65 2 9
get_deleted_messages()
S
63 1 11
get_erased_threads()
S
63 1 11
markAllRead()
S
62 1 11
get_changed_users()
S
64 1 10
get_changed_threads()
S
65 1 9
get_block_list()
S
77 1 3
rest_nonce()
S
71 1 6
ping()
S
82 1 3