WPFA_Access_Restrictions C

Total Complexity 101
Dependencies 1
Dependents 1
Total lines 445
Lines of code 363
Logical lines of code 179
Comment lines 26
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
is_page_blacklisted()
C
35 23 89
modify_whitelisted_urls_before_saving()
B
38 22 65
enforce_frontend_dashboard()
A
46 11 37
allow_iframes_on_origin()
S
57 8 14
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 47
remove_customizer_frame_headers()
S
69 5 6
whitelist_urls()
S
59 3 14
apply_page_blacklist()
S
60 3 14
init()
S
54 2 21
get_instance()
S
69 2 7
__construct()
S
91 1 2
whitelist_pages_after_creation()
S
81 1 3
__set()
S
81 1 3
__get()
S
82 1 3