Disable_Comments D

Total Complexity 252
Dependencies 2
Dependents 0
Total lines 939
Lines of code 665
Logical lines of code 387
Comment lines 121
Methods 55
Properties 4

Methods 55

Method Rating Maintainability Complexity Lines of code
disable_comments_settings()
B
42 25 42
delete_comments()
B
37 18 69
__construct()
B
40 17 58
init_wploaded_filters()
A
42 14 48
delete_comments_settings()
A
47 13 31
check_db_upgrades()
A
53 9 22
admin_notice()
S
60 8 12
get_all_post_types()
S
59 7 13
init_filters()
S
53 6 20
get_all_comments_number()
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
form_data_modify()
S
60 5 13
get_disabled_post_types()
S
62 5 11
get_all_comment_types()
S
57 4 17
tools_menu()
S
61 5 10
setup_notice()
S
61 5 10
settings_menu()
S
64 5 8
check_compatibility()
S
63 5 9
is_configured()
S
67 5 7
is_xmlrpc_rest()
S
65 5 9
settings_page_assets()
S
53 3 23
filter_gutenberg_blocks()
S
69 4 6
update_options()
S
66 4 8
remove_network_comment_links()
S
65 4 9
discussion_notice()
S
62 4 10
plugin_actions_links()
S
61 3 12
filter_existing_comments()
S
74 3 4
filter_comment_status()
S
73 3 4
filter_comments_number()
S
73 3 4
settings_page_url()
S
73 3 4
tools_page_url()
S
73 3 4
filter_admin_bar()
S
67 3 8
start_plugin_usage_tracking()
S
58 2 15
discussion_settings_allowed()
S
73 3 5
settings_page()
S
69 3 6
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
disable_xmlrc_comments()
S
76 1 4
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
tools_page()
S
83 1 3
disable_rest_API_comments()
S
83 1 3
disable_rc_widget()
S
76 1 4
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