BP_Groups_Member D

Total Complexity 140
Dependencies 4
Dependents 35
Total lines 1,388
Lines of code 536
Logical lines of code 360
Comment lines 623
Methods 45
Properties 13

Methods 45

Method Rating Maintainability Complexity Lines of code
get_all_for_group()
A
41 15 46
get_user_memberships()
A
41 8 58
prime_group_admins_mods_cache()
A
49 8 28
save()
S
47 6 33
__construct()
S
59 7 15
populate()
S
52 6 23
get_is_banned_of()
S
53 6 19
delete_all_for_user()
S
52 5 23
get_group_moderator_ids()
S
56 5 18
get_group_administrator_ids()
S
56 5 18
get_recently_joined()
S
54 5 17
get_is_mod_of()
S
54 5 17
get_is_admin_of()
S
54 5 17
get_group_ids()
S
55 4 16
total_group_count()
S
61 4 11
promote()
S
61 3 13
check_is_banned()
S
65 3 8
check_is_creator()
S
65 3 8
remove()
S
61 2 11
get_random_groups()
S
63 2 9
__get()
S
71 2 6
__isset()
S
68 2 8
get_user_object()
S
71 2 6
unban()
S
70 2 6
check_is_admin()
S
67 2 7
check_is_mod()
S
67 2 7
check_is_member()
S
67 2 7
ban()
S
68 2 7
get_memberships_by_id()
S
69 1 6
get_all_membership_request_user_ids()
S
80 1 3
get_membership_ids_for_user()
S
69 1 6
get_group_member_ids()
S
71 1 5
delete_all()
S
71 1 5
delete_invite()
S
74 1 4
check_for_membership_request()
S
79 1 3
delete_request()
S
78 1 3
check_has_invite()
S
78 1 3
get_invite_count_for_user()
S
80 1 3
demote()
S
71 1 6
delete()
S
64 1 9
refresh_total_member_count_for_group()
S
79 1 3
refresh_total_group_count_for_user()
S
78 1 3
accept_request()
S
76 1 4
accept_invite()
S
73 1 5
get_invites()
S
78 1 3