-
Home
-
Better Messages – Live Chat for WordPress, BuddyPress, PeepSo, Ultimate Member, BuddyBoss
-
2.4.26
-
Code
-
Classes
- Better_Messages_Moderation
Total Complexity |
55 |
Dependencies |
2 |
Dependents |
2 |
Total lines |
407 |
Lines of code |
300 |
Logical lines of code |
163 |
Comment lines |
3 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_restricted_users() |
A |
48 |
10 |
32 |
ban_user_api() |
S |
53 |
4 |
21 |
restrict_user() |
S |
54 |
4 |
21 |
mute_user_api() |
S |
54 |
4 |
20 |
unmute_user_api() |
S |
55 |
4 |
19 |
is_user_restricted() |
S |
55 |
4 |
19 |
rest_api_init() |
S |
46 |
1 |
50 |
clean_expired_ban() |
S |
55 |
3 |
20 |
un_ban_user_api() |
S |
56 |
3 |
18 |
clean_expired_bans() |
S |
56 |
3 |
18 |
can_send_reply() |
S |
59 |
3 |
14 |
un_restrict_user() |
S |
59 |
3 |
14 |
instance() |
S |
69 |
2 |
7 |
restrict_join() |
S |
68 |
2 |
7 |
format_time() |
S |
77 |
1 |
3 |
thread_cache_key() |
S |
80 |
1 |
3 |
user_thread_cache_key() |
S |
79 |
1 |
3 |
__construct() |
S |
67 |
1 |
7 |
cache_delete() |
S |
75 |
1 |
4 |