WPFA_Access_Restrictions D

Total Complexity 128
Dependencies 1
Dependents 1
Total lines 557
Lines of code 443
Logical lines of code 229
Comment lines 39
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
is_page_blacklisted()
C
35 23 89
modify_whitelisted_urls_before_saving()
B
38 22 65
allow_iframes_on_origin()
A
49 12 25
enforce_frontend_dashboard()
A
46 11 37
admin_users_caps()
A
55 8 21
init()
S
45 6 44
whitelist_existing_urls()
S
53 7 23
maybe_redirect_to_login_page()
S
58 7 15
redirect_to_main_window_from_iframe()
S
46 4 48
edit_permission_check()
S
60 6 12
allow_main_site_admins_backend()
S
61 5 12
remove_customizer_frame_headers()
S
69 5 6
whitelist_urls()
S
59 3 14
apply_page_blacklist()
S
60 3 14
get_instance()
S
69 2 7
__set()
S
81 1 3
__construct()
S
91 1 2
whitelist_pages_after_creation()
S
81 1 3
__get()
S
82 1 3