WPFA_Access_Restrictions C

Total Complexity 104
Dependencies 1
Dependents 1
Total lines 454
Lines of code 371
Logical lines of code 185
Comment lines 27
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()
A
52 11 21
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
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