BP_Friends_Friendship C

Total Complexity 117
Dependencies 2
Dependents 37
Total lines 1,085
Lines of code 458
Logical lines of code 293
Comment lines 445
Methods 25
Properties 9

Methods 25

Method Rating Maintainability Complexity Lines of code
get_friendships()
C
34 27 83
update_bp_friends_cache()
A
46 9 37
search_friends()
A
46 8 36
delete_all_for_user()
A
50 8 28
get_invitable_friend_count()
S
54 7 21
populate()
S
51 6 25
get_friend_user_ids()
S
53 6 22
search_users()
S
53 5 21
total_friend_count()
S
59 5 13
get_bulk_last_active()
S
56 4 17
get_random_friends()
S
58 4 14
__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
get_user_ids_for_friendship()
S
63 2 10
sort_by_name()
S
63 2 9
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