lct_features_access D

Total Complexity 319
Dependencies 0
Dependents 0
Total lines 1,559
Lines of code 846
Logical lines of code 390
Comment lines 377
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
check_restrictions_by_taxonomy()
D
25
64 149
check_restrictions_by_post_id()
D
27
53 129
prepare_field_access_primary()
D
31 42 115
check_restrictions_by_post_type()
C
37 32 74
render_field_viewonly()
C
38 27 66
wp_nav_menu_objects()
B
40 20 60
template_redirect_front_access()
B
45 18 43
current_user_can_view()
A
47 12 37
current_user_can_access()
A
48 11 35
update_field_group()
A
51 8 29
direct_current_user_can_edit()
S
56 7 20
direct_current_user_can_view()
S
56 7 20
load_hooks()
S
51 5 25
current_user_can()
S
53 5 23
varnish_set_2nd_logged_in_cookie()
S
63 4 10
__construct()
S
71 2 6
remove_pre_get_posts_front_access()
S
79 1 3
pre_get_posts_front_access()
S
100 1 2