VG_Admin_To_Frontend D

Total Complexity 220
Dependencies 2
Dependents 7
Total lines 1,078
Lines of code 870
Logical lines of code 373
Comment lines 31
Methods 43
Properties 10

Methods 43

Method Rating Maintainability Complexity Lines of code
cleanup_admin_page_for_frontend()
A
39 12 64
required_capability_by_current_page()
A
48 14 33
render_admin_css()
A
34 5 165
get_page_id()
A
46 13 35
save_quick_settings()
A
44 11 43
get_current_page_settings()
A
51 10 24
add_post_edit_link()
A
52 10 23
redirect_to_new_after_publish()
A
57 9 15
redirect_to_new_after_post_pending_review()
A
57 9 15
get_settings()
A
52 8 27
identify_source_id()
A
56 8 17
init()
A
40 5 62
user_has_any_role()
S
52 7 24
show_message_if_page_not_allowed()
S
53 7 21
get_current_url()
S
55 7 18
get_admin_url_without_base()
S
53 6 22
late_init()
S
57 6 17
update_option()
S
56 5 19
redirect_to_login_page_after_wrong_credentials()
S
62 6 10
get_site_id_for_admin_content()
S
61 5 12
get_main_admin_id()
S
62 5 11
get_login_url()
S
59 4 15
maybe_redirect_direct_link()
S
61 4 12
redirect_after_log_out()
S
62 4 11
add_direct_link_menu()
S
58 3 16
redirect_to_login_page_after_empty_credentials()
S
72 4 5
set_main_admin_id()
S
66 4 9
is_wpfa_page()
S
63 4 10
get_upgrade_url()
S
60 3 14
maybe_add_to_menu()
S
53 2 24
register_menu_page()
S
62 2 13
get_instance()
S
69 2 7
master_capability()
S
79 2 3
get_shortcode_for_slug()
S
69 2 7
is_master_user()
S
78 2 3
maybe_redirect_after_post_saved()
S
73 2 6
get_plugin_install_url()
S
64 2 9
prepare_loose_url()
S
61 1 14
__set()
S
81 1 3
__construct()
S
91 1 2
register_custom_die_handler()
S
80 1 3
get_files_list()
S
75 1 4
__get()
S
82 1 3