Better_Messages_Rest_Api D

Total Complexity 254
Dependencies 5
Dependents 2
Total lines 1,955
Lines of code 1,523
Logical lines of code 773
Comment lines 16
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
get_threads()
D
22
29 210
checkNew()
C
35 27 81
send_message()
C
33 22 92
get_messages()
B
34 17 93
can_reply()
A
39 14 68
get_thread()
A
40 14 57
load_more()
A
39 12 67
rest_api_init()
A
29 3 196
start_new_thread()
A
43 10 48
get_user_suggestions()
A
48 11 32
delete_messages()
A
48 9 34
check_unloaded_threads()
A
39 6 78
save_message()
A
41 7 58
lazy_pool()
A
46 8 38
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
openThreads()
S
65 3 9
check_missing_threads()
S
58 2 15
__construct()
S
53 1 24
instance()
S
69 2 7
get_unique_conversation()
S
65 2 9
is_user_authorized()
S
71 2 6
markAllRead()
S
61 1 12
get_deleted_messages()
S
63 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