Groups_Post_Access D

Total Complexity 151
Dependencies 8
Dependents 12
Total lines 829
Lines of code 482
Logical lines of code 280
Comment lines 281
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
posts_where()
C
33 27 96
map_meta_cap()
A
47 15 36
get_handles_post_types()
A
55 12 17
wp_count_posts()
A
45 10 41
user_can_read_post()
A
47 10 36
update()
A
51 8 26
read()
A
53 8 23
create()
S
52 7 24
wp_get_nav_menu_items()
S
56 7 18
delete()
S
55 6 20
init()
S
52 5 23
get_next_post_where()
S
57 5 15
get_the_excerpt()
S
59 4 16
the_content()
S
59 4 16
get_pages()
S
60 4 14
the_posts()
S
59 4 14
set_handles_post_types()
S
65 3 8
rest_prepare_post()
S
63 3 10
groups_deleted_group()
S
72 2 5
handles_post_type()
S
74 2 4
get_read_group_ids()
S
78 1 3
get_read_post_capabilities()
S
65 1 9
get_previous_post_where()
S
77 1 3
wp_count_attachments()
S
81 1 3
activate()
S
89 1 2