WPFA_Access_Restrictions D

Total Complexity 135
Dependencies 1
Dependents 1
Total lines 584
Lines of code 466
Logical lines of code 240
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 66
maybe_redirect_to_login_page()
A
48 12 31
enforce_frontend_dashboard()
A
46 11 37
allow_iframes_on_origin()
A
50 11 25
init()
A
43 9 49
admin_users_caps()
A
55 8 21
whitelist_existing_urls()
S
53 7 23
redirect_to_main_window_from_iframe()
S
46 4 49
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