VG_Admin_To_Frontend D

Total Complexity 322
Dependencies 4
Dependents 8
Total lines 1,795
Lines of code 1,592
Logical lines of code 624
Comment lines 105
Methods 60
Properties 16

Methods 60

Method Rating Maintainability Complexity Lines of code
render_admin_css()
C
25
7 358
_default_wp_die_handler()
C
28
18 184
init()
B
32 17 101
cleanup_admin_page_for_frontend()
A
36 13 80
get_current_page_settings()
A
44 15 41
required_capability_by_current_page()
A
48 14 33
is_frontend_dashboard_user()
A
49 13 29
save_quick_settings()
A
44 12 43
get_default_post_to_edit()
A
41 10 53
redirect_to_new_after_post_pending_review()
A
55 10 17
redirect_to_new_after_publish()
A
55 10 17
get_settings()
A
51 9 28
user_has_any_role()
A
51 9 27
show_message_if_page_not_allowed()
A
49 9 26
get_page_id()
A
45 8 40
get_current_url()
A
55 9 18
identify_source_id()
A
54 8 18
get_admin_url_without_base()
S
49 7 29
late_init()
S
57 6 17
maybe_redirect_after_post_saved()
S
64 7 9
is_wpfa_page()
S
60 6 13
update_option()
S
56 5 19
render_back_buttons_for_internal_pages()
S
50 4 31
add_admin_body_classes()
S
58 5 15
is_master_user()
S
59 5 14
parse_settings_from_file()
S
59 5 14
set_main_admin_id()
S
59 5 14
is_main_admin()
S
62 5 11
add_post_edit_link()
S
56 4 17
redirect_after_log_out()
S
59 4 15
get_logout_redirect_to()
S
61 4 12
maybe_redirect_direct_link()
S
61 4 12
add_direct_link_menu()
S
58 3 16
redirect_to_login_page_after_empty_credentials()
S
72 4 5
get_network_sites()
S
59 3 15
redirect_to_login_page_after_wrong_credentials()
S
63 4 10
get_upgrade_url()
S
60 3 14
maybe_add_to_menu()
S
53 2 24
get_login_url()
S
64 3 10
get_default_editor_for_post_type()
S
64 3 10
get_referer()
S
68 3 7
register_menu_page()
S
62 2 13
prepare_loose_url()
S
54 1 24
get_system_page_ids()
S
56 1 16
get_shortcode_for_slug()
S
69 2 7
get_plugin_install_url()
S
64 2 9
add_frontend_admin_body_class()
S
71 2 6
get_instance()
S
69 2 7
master_capability()
S
78 2 3
remove_update_nag()
S
72 2 5
get_user_option_from_master_user()
S
68 2 7
__get()
S
82 1 3
__set()
S
81 1 3
register_custom_die_handler()
S
80 1 3
get_file_config_file_path()
S
79 1 3
filter_settings_page_values()
S
80 1 3
delete_sites_transient()
S
82 1 3
get_backend_urls_forced_frontend()
S
71 1 5
get_files_list()
S
75 1 4
__construct()
S
91 1 2