-
Home
-
BuddyPress
-
9.1.1
-
Code
-
Classes
- BP_Friends_Friendship
Total Complexity |
115 |
Dependencies |
2 |
Dependents |
39 |
Total lines |
1,009 |
Lines of code |
433 |
Logical lines of code |
292 |
Comment lines |
398 |
Methods |
25 |
Properties |
9 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_friendships() |
C |
35 |
27 |
79 |
update_bp_friends_cache() |
A |
46 |
9 |
37 |
delete_all_for_user() |
A |
50 |
8 |
28 |
search_friends() |
A |
49 |
8 |
27 |
populate() |
S |
51 |
6 |
25 |
get_friend_user_ids() |
S |
53 |
6 |
23 |
get_invitable_friend_count() |
S |
56 |
6 |
18 |
search_users() |
S |
54 |
5 |
19 |
total_friend_count() |
S |
57 |
5 |
16 |
get_bulk_last_active() |
S |
56 |
4 |
18 |
get_random_friends() |
S |
58 |
4 |
14 |
check_is_friend() |
S |
62 |
4 |
11 |
search_users_count() |
S |
56 |
3 |
16 |
get_friendship_id() |
S |
59 |
3 |
15 |
get_friendship_request_user_ids() |
S |
62 |
3 |
11 |
save() |
S |
55 |
2 |
18 |
__construct() |
S |
67 |
2 |
8 |
sort_by_name() |
S |
64 |
2 |
8 |
get_user_ids_for_friendship() |
S |
64 |
2 |
10 |
get_friendships_by_id() |
S |
69 |
1 |
6 |
delete() |
S |
71 |
1 |
5 |
reject() |
S |
71 |
1 |
5 |
withdraw() |
S |
71 |
1 |
5 |
get_friendship_ids_for_user() |
S |
69 |
1 |
6 |
accept() |
S |
70 |
1 |
5 |