Disable_Comments D

Total Complexity 325
Dependencies 2
Dependents 0
Total lines 1,195
Lines of code 876
Logical lines of code 510
Comment lines 140
Methods 62
Properties 8

Methods 62

Method Rating Maintainability Complexity Lines of code
disable_comments_settings()
D
33 39 75
delete_comments()
B
36 19 76
init_wploaded_filters()
B
41 18 50
__construct()
B
41 16 54
delete_comments_settings()
A
45 15 36
check_db_upgrades()
A
45 14 38
get_sub_sites()
A
47 8 34
init_filters()
A
49 8 27
is_exclude_by_role()
A
57 8 16
setup_notice()
S
57 8 14
admin_notice()
S
60 8 12
get_all_post_types()
S
59 7 13
is_network_admin()
S
67 7 6
settings_page()
S
54 5 22
get_disabled_sites()
S
55 5 20
get_all_comments_number()
S
55 5 19
get_all_comment_types()
S
56 5 18
_get_all_comment_types()
S
56 5 16
check_comment_template()
S
63 6 9
filter_admin_menu()
S
60 5 13
check_upgrades()
S
62 5 11
get_disabled_post_types()
S
62 5 11
start_plugin_usage_tracking()
S
55 4 19
settings_menu()
S
64 5 8
tools_menu()
S
61 5 10
is_configured()
S
67 5 7
check_compatibility()
S
63 5 9
is_xmlrpc_rest()
S
65 5 9
settings_page_assets()
S
50 3 27
filter_rest_endpoints()
S
63 4 12
discussion_notice()
S
62 4 10
remove_network_comment_links()
S
65 4 9
filter_gutenberg_blocks()
S
70 4 6
update_options()
S
66 4 8
plugin_actions_links()
S
61 3 12
get_roles()
S
56 2 18
is_post_type_disabled()
S
70 3 6
filter_admin_bar()
S
67 3 8
filter_existing_comments()
S
74 3 4
filter_comment_status()
S
74 3 4
filter_comments_number()
S
74 3 4
tools_page_url()
S
73 3 4
discussion_settings_allowed()
S
73 3 5
settings_page_url()
S
73 3 4
is_remove_everywhere()
S
67 3 9
get_instance()
S
72 2 6
set_plugin_meta()
S
67 2 8
filter_query()
S
72 2 5
admin_css()
S
70 1 11
redirectToMainSettingsPage()
S
76 1 4
disable_rc_widget()
S
76 1 4
filter_dashboard()
S
79 1 3
disable_comments_script()
S
77 1 3
tools_page()
S
83 1 3
disable_rest_API_comments()
S
83 1 3
form_data_modify()
S
80 1 3
disable_xmlrc_comments()
S
76 1 4
filter_wp_headers()
S
76 1 4
dummy_comments_template()
S
79 1 3
register_text_domain()
S
77 1 3
enable_cli()
S
76 1 4
single_site_deactivate()
S
81 1 3