ScoutDocs_Plugin D

Total Complexity 127
Dependencies 6
Dependents 2
Total lines 1,327
Lines of code 770
Logical lines of code 317
Comment lines 370
Methods 59
Properties 7

Methods 59

Method Rating Maintainability Complexity Lines of code
load_docs_page()
B
26
16 176
init_site()
A
46 10 39
admin_notices()
A
45 9 44
init_settings()
S
40 3 69
get_subscription()
S
54 5 22
admin_head()
S
42 2 61
wp_ajax_support_ticket()
S
50 3 28
admin_enqueue_scripts()
S
53 3 21
api_request()
S
54 3 21
update_site_info()
S
56 3 18
hook()
S
59 3 14
template_include()
S
63 3 12
load_settings_page()
S
63 3 10
has_site_key()
S
67 3 9
process_settings_update()
S
66 3 8
maybe_redirect_user_to_ui()
S
68 3 7
flush_user_keys()
S
62 2 12
start()
S
68 2 8
get_instance()
S
74 2 5
scripts()
S
71 2 6
add_hooks()
S
60 1 15
_get_subscription()
S
64 2 9
current_action()
S
78 2 3
current_user()
S
71 2 6
get_system_information()
S
71 2 6
setting()
S
66 2 9
__construct()
S
98 1 1
sanitize_method()
S
77 1 3
include_file()
S
75 1 4
get_url()
S
80 1 3
get_path()
S
80 1 3
load_textdomain()
S
77 1 3
load_hooks()
S
80 1 3
query_vars()
S
77 1 4
init()
S
69 1 7
flush_subscription_cache()
S
80 1 3
get_notification_email()
S
80 1 3
admin_menu()
S
65 1 7
get_license_key()
S
80 1 3
set_license_key()
S
80 1 3
get_site_key()
S
80 1 3
set_site_key()
S
80 1 3
settings_url()
S
80 1 3
document_list_url()
S
78 1 3
get_size()
S
67 1 6
exclude_errors()
S
73 1 5
print_notice()
S
71 1 7
site_options_updated()
S
80 1 3
settings_page()
S
70 1 6
profile_update()
S
65 1 8
admin_init()
S
76 1 4
redirect_to_docs_page()
S
77 1 4
get_api_url()
S
68 1 7
api_get()
S
75 1 4
api_post()
S
79 1 3
api_delete()
S
75 1 4
simplify_setting_name()
S
79 1 3
register_setting()
S
79 1 3
get_all_settings()
S
82 1 3