Disable_Comments D

Total Complexity 285
Dependencies 2
Dependents 0
Total lines 1,043
Lines of code 749
Logical lines of code 436
Comment lines 132
Methods 58
Properties 4

Methods 58

Method Rating Maintainability Complexity Lines of code
disable_comments_settings()
C
39 31 48
delete_comments()
B
37 18 69
__construct()
B
41 16 53
init_wploaded_filters()
A
42 14 48
check_db_upgrades()
A
45 14 38
delete_comments_settings()
A
47 13 32
get_sub_sites()
A
47 8 34
init_filters()
A
50 8 26
setup_notice()
S
58 8 13
admin_notice()
S
60 8 12
get_all_post_types()
S
59 7 13
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
is_network_admin()
S
68 6 6
filter_admin_menu()
S
60 5 13
get_disabled_post_types()
S
62 5 11
start_plugin_usage_tracking()
S
55 4 19
tools_menu()
S
61 5 10
settings_menu()
S
64 5 8
is_xmlrpc_rest()
S
65 5 9
is_configured()
S
67 5 7
check_compatibility()
S
63 5 9
settings_page_assets()
S
52 3 24
filter_gutenberg_blocks()
S
69 4 6
remove_network_comment_links()
S
65 4 9
discussion_notice()
S
62 4 10
update_options()
S
66 4 8
plugin_actions_links()
S
61 3 12
filter_admin_bar()
S
67 3 8
filter_comment_status()
S
73 3 4
filter_comments_number()
S
73 3 4
tools_page_url()
S
73 3 4
filter_existing_comments()
S
74 3 4
discussion_settings_allowed()
S
73 3 5
settings_page()
S
69 3 6
settings_page_url()
S
73 3 4
get_instance()
S
72 2 6
set_plugin_meta()
S
67 2 8
is_post_type_disabled()
S
78 2 3
filter_query()
S
72 2 5
admin_css()
S
70 1 11
form_data_modify()
S
80 1 3
enable_cli()
S
76 1 4
register_text_domain()
S
77 1 3
dummy_comments_template()
S
79 1 3
filter_wp_headers()
S
76 1 4
disable_rest_API_comments()
S
83 1 3
disable_xmlrc_comments()
S
76 1 4
disable_rc_widget()
S
76 1 4
tools_page()
S
83 1 3
filter_rest_endpoints()
S
76 1 4
disable_comments_script()
S
77 1 3
filter_dashboard()
S
79 1 3
redirectToMainSettingsPage()
S
76 1 4
single_site_deactivate()
S
81 1 3