Disable_Comments D

Total Complexity 204
Dependencies 2
Dependents 0
Total lines 827
Lines of code 571
Logical lines of code 331
Comment lines 112
Methods 55
Properties 4

Methods 55

Method Rating Maintainability Complexity Lines of code
delete_comments_settings()
C
34 24 78
disable_comments_settings()
B
45 21 32
init_wploaded_filters()
A
42 11 48
check_db_upgrades()
A
53 9 22
__construct()
S
51 7 27
admin_notice()
S
60 8 12
init_filters()
S
53 6 20
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_all_post_types()
S
59 5 13
setup_notice()
S
61 5 10
check_compatibility()
S
63 5 9
get_disabled_post_types()
S
63 4 11
settings_page_assets()
S
53 3 23
remove_network_comment_links()
S
65 4 9
filter_gutenberg_blocks()
S
69 4 6
discussion_notice()
S
62 4 10
plugin_actions_links()
S
61 3 12
settings_page()
S
69 3 6
filter_comments_number()
S
73 3 4
filter_comment_status()
S
73 3 4
filter_admin_bar()
S
67 3 8
filter_existing_comments()
S
73 3 4
start_plugin_usage_tracking()
S
58 2 15
discussion_settings_allowed()
S
73 3 5
tools_menu()
S
62 2 10
settings_menu()
S
65 2 8
set_plugin_meta()
S
67 2 8
get_instance()
S
72 2 6
tools_page_url()
S
73 2 4
settings_page_url()
S
73 2 4
wizard_action()
S
66 2 8
update_options()
S
69 2 7
get_option()
S
78 2 3
update_option()
S
78 2 3
delete_option()
S
78 2 3
filter_query()
S
72 2 5
admin_css()
S
70 1 11
disable_rest_API_comments()
S
83 1 3
enable_cli()
S
76 1 4
disable_comments_script()
S
77 1 3
filter_dashboard()
S
79 1 3
is_post_type_disabled()
S
79 1 3
register_text_domain()
S
77 1 3
tools_page()
S
83 1 3
filter_rest_endpoints()
S
76 1 4
disable_rc_widget()
S
76 1 4
get_all_comments_number()
S
75 1 4
redirectToMainSettingsPage()
S
76 1 4
dummy_comments_template()
S
79 1 3
filter_wp_headers()
S
76 1 4
disable_xmlrc_comments()
S
76 1 4
single_site_deactivate()
S
81 1 3