WPFA_Access_Restrictions D

Total Complexity 171
Dependencies 2
Dependents 1
Total lines 625
Lines of code 547
Logical lines of code 291
Comment lines 44
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
is_page_blacklisted()
C
34 24 90
modify_whitelisted_urls_before_saving()
B
37 22 67
allow_iframes_on_origin()
B
46 19 29
maybe_redirect_to_login_page()
A
45 16 37
enforce_frontend_dashboard()
A
47 11 36
maybe_start_learning_mode()
A
50 11 26
init()
A
45 8 44
maybe_redirect_to_custom_page_if_zero_sites()
A
53 9 24
admin_users_caps()
A
55 8 21
redirect_to_main_window_from_iframe()
A
46 5 62
edit_permission_check()
S
60 6 12
whitelist_existing_urls()
S
60 5 13
allow_main_site_admins_backend()
S
61 5 12
whitelist_all_existing_urls()
S
56 4 17
remove_customizer_frame_headers()
S
69 5 6
apply_page_blacklist()
S
59 3 15
whitelist_urls()
S
58 3 15
get_instance()
S
69 2 7
__set()
S
81 1 3
__construct()
S
91 1 2
whitelist_pages_after_creation()
S
83 1 3
remove_frame_options_header()
S
80 1 3
__get()
S
82 1 3