-
Home
-
Better Messages – Live Chat for WordPress, BuddyPress, PeepSo, Ultimate Member, BuddyBoss
-
2.10.1 (latest)
-
Code
-
Classes
- Better_Messages_AI
| Total Complexity |
130 |
| Dependencies |
2 |
| Dependents |
2 |
| Total lines |
676 |
| Lines of code |
505 |
| Logical lines of code |
285 |
| Comment lines |
9 |
| Methods |
25 |
| Properties |
1 |
Methods 25
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| rest_thread_item() |
A |
41 |
14 |
51 |
| block_reply_if_needed() |
A |
44 |
14 |
41 |
| on_message_sent() |
A |
43 |
14 |
41 |
| save_post() |
A |
45 |
11 |
40 |
| restrict_new_thread_if_needed() |
A |
54 |
10 |
19 |
| on_new_thread_created() |
A |
53 |
9 |
22 |
| get_bot_settings() |
A |
55 |
9 |
18 |
| before_delete_message() |
A |
51 |
8 |
26 |
| bot_settings() |
A |
44 |
7 |
40 |
| get_user_roles() |
S |
60 |
6 |
13 |
| create_or_update_bot_user() |
S |
53 |
4 |
23 |
| bot_exists() |
S |
67 |
4 |
7 |
| get_bot_user() |
S |
58 |
3 |
15 |
| __construct() |
S |
53 |
2 |
21 |
| register_post_type() |
S |
49 |
1 |
30 |
| rest_api_init() |
S |
54 |
1 |
24 |
| get_default_settings() |
S |
54 |
1 |
21 |
| instance() |
S |
69 |
2 |
7 |
| register_event() |
S |
73 |
2 |
5 |
| is_bot_conversation() |
S |
71 |
2 |
5 |
| check_if_api_key_valid() |
S |
66 |
2 |
9 |
| get_voices() |
S |
64 |
1 |
12 |
| user_is_admin() |
S |
80 |
1 |
3 |
| register_meta_box() |
S |
66 |
1 |
9 |
| ai_bot_ensure_completion() |
S |
80 |
1 |
3 |