-
Home
-
Better Messages – Live Chat for WordPress, BuddyPress, PeepSo, Ultimate Member, BuddyBoss
-
2.9.13
-
Code
-
Classes
- Better_Messages_AI
| Total Complexity |
114 |
| Dependencies |
1 |
| Dependents |
2 |
| Total lines |
561 |
| Lines of code |
415 |
| Logical lines of code |
233 |
| Comment lines |
7 |
| Methods |
23 |
| Properties |
1 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| block_reply_if_needed() |
A |
44 |
14 |
41 |
| on_message_sent() |
A |
44 |
14 |
38 |
| rest_thread_item() |
A |
45 |
12 |
38 |
| restrict_new_thread_if_needed() |
A |
54 |
10 |
19 |
| on_new_thread_created() |
A |
53 |
9 |
22 |
| get_bot_settings() |
A |
55 |
9 |
18 |
| bot_settings() |
A |
44 |
7 |
40 |
| save_post() |
S |
53 |
7 |
22 |
| 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 |
55 |
2 |
18 |
| register_post_type() |
S |
49 |
1 |
30 |
| instance() |
S |
69 |
2 |
7 |
| is_bot_conversation() |
S |
71 |
2 |
5 |
| check_if_api_key_valid() |
S |
66 |
2 |
9 |
| rest_api_init() |
S |
62 |
1 |
12 |
| get_voices() |
S |
64 |
1 |
12 |
| get_default_settings() |
S |
62 |
1 |
11 |
| user_is_admin() |
S |
80 |
1 |
3 |
| register_meta_box() |
S |
66 |
1 |
9 |
| ai_bot_ensure_completion() |
S |
80 |
1 |
3 |