-
Home
-
BuddyPress
-
11.3.1
-
Code
-
Classes
- BP_Friends_Friendship
| Total Complexity |
118 |
| Dependencies |
2 |
| Dependents |
37 |
| Total lines |
1,116 |
| Lines of code |
484 |
| Logical lines of code |
312 |
| Comment lines |
445 |
| Methods |
25 |
| Properties |
9 |
Methods 25
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_friendships() |
C |
33 |
29 |
91 |
| update_bp_friends_cache() |
A |
45 |
9 |
38 |
| search_friends() |
A |
46 |
8 |
36 |
| delete_all_for_user() |
A |
48 |
8 |
33 |
| get_invitable_friend_count() |
S |
54 |
7 |
21 |
| populate() |
S |
51 |
6 |
25 |
| get_friend_user_ids() |
S |
51 |
5 |
27 |
| search_users() |
S |
53 |
5 |
21 |
| total_friend_count() |
S |
59 |
5 |
13 |
| get_random_friends() |
S |
54 |
4 |
21 |
| get_bulk_last_active() |
S |
56 |
4 |
17 |
| __construct() |
S |
56 |
3 |
19 |
| search_users_count() |
S |
56 |
3 |
17 |
| get_friendship_id() |
S |
59 |
3 |
15 |
| check_is_friend() |
S |
63 |
4 |
10 |
| get_friendship_request_user_ids() |
S |
62 |
3 |
11 |
| save() |
S |
55 |
2 |
18 |
| sort_by_name() |
S |
63 |
2 |
9 |
| get_user_ids_for_friendship() |
S |
63 |
2 |
10 |
| delete() |
S |
71 |
1 |
5 |
| get_friendship_ids_for_user() |
S |
69 |
1 |
6 |
| accept() |
S |
70 |
1 |
5 |
| withdraw() |
S |
71 |
1 |
5 |
| reject() |
S |
71 |
1 |
5 |
| get_friendships_by_id() |
S |
69 |
1 |
6 |