lct_features_access D

Total Complexity 320
Dependencies 0
Dependents 0
Total lines 1,634
Lines of code 901
Logical lines of code 391
Comment lines 376
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
check_restrictions_by_taxonomy()
D
24
64 163
check_restrictions_by_post_id()
D
27
53 135
prepare_field_access_primary()
D
30 44 123
check_restrictions_by_post_type()
C
37 31 78
render_field_viewonly()
C
37 27 68
wp_nav_menu_objects()
B
40 20 59
template_redirect_front_access()
B
44 18 48
current_user_can_view()
A
46 12 40
current_user_can_access()
A
47 11 38
update_field_group()
A
51 8 29
direct_current_user_can_edit()
S
54 7 23
direct_current_user_can_view()
S
54 7 23
current_user_can()
S
52 5 26
load_hooks()
S
51 5 26
varnish_set_2nd_logged_in_cookie()
S
63 4 10
__construct()
S
69 2 7
remove_pre_get_posts_front_access()
S
79 1 3
pre_get_posts_front_access()
S
100 1 2