Code Analysis: Disable Comments 2.4.6

Function Rating Maintainability Complexity Lines of code
Disable_Comments::disable_comments_settings()
D
33 39 75
DisableComments_Plugin_Tracker::send_data()
C
34 31 80
Disable_Comments::delete_comments()
B
36 19 76
Disable_Comments::init_wploaded_filters()
B
41 18 50
DisableComments_Plugin_Tracker::get_data()
B
39 16 60
Disable_Comments::__construct()
B
41 16 54
Disable_Comment_Command::disable()
B
39 15 63
Disable_Comments::delete_comments_settings()
A
45 15 36
DisableComments_Plugin_Tracker::deactivate_reasons_form()
A
31 8 138
Disable_Comments::check_db_upgrades()
A
45 14 38
DisableComments_Plugin_Tracker::set_is_tracking_allowed()
A
54 9 22
Disable_Comments::get_sub_sites()
A
47 8 34
Disable_Comments::init_filters()
A
49 8 27
Disable_Comment_Command::__construct()
A
37 3 101
Disable_Comment_Command::delete()
A
50 8 26
DisableComments_Plugin_Tracker::clicked()
A
54 8 20
Disable_Comments::is_exclude_by_role()
A
57 8 16
DisableComments_Plugin_Tracker::__construct()
S
57 8 14
Disable_Comments::setup_notice()
S
57 8 14
Disable_Comments::admin_notice()
S
60 8 12
Disable_Comments::get_all_post_types()
S
59 7 13
Disable_Comments::is_network_admin()
S
67 7 6
DisableComments_Plugin_Tracker::notice()
S
47 4 38
Disable_Comments::settings_page()
S
54 5 22
DisableComments_Plugin_Tracker::deactivate_this_plugin()
S
54 5 21
Disable_Comments::get_disabled_sites()
S
55 5 20
DisableComments_Plugin_Tracker::remote_post()
S
54 5 19
Disable_Comments::get_all_comments_number()
S
55 5 19
Disable_Comments::get_all_comment_types()
S
56 5 18
Disable_Comments::_get_all_comment_types()
S
56 5 16
Disable_Comments::check_comment_template()
S
63 6 9
DisableComments_Plugin_Tracker::diff()
S
60 5 14
DisableComments_Plugin_Tracker::do_tracking()
S
61 5 13
Disable_Comments::filter_admin_menu()
S
60 5 13
Disable_Comments::check_upgrades()
S
62 5 11
Disable_Comments::get_disabled_post_types()
S
62 5 11
Disable_Comments::start_plugin_usage_tracking()
S
55 4 19
Disable_Comments::settings_menu()
S
64 5 8
Disable_Comments::tools_menu()
S
61 5 10
Disable_Comments::check_compatibility()
S
63 5 9
Disable_Comments::is_configured()
S
67 5 7
Disable_Comments::is_xmlrpc_rest()
S
65 5 9
DisableComments_Plugin_Tracker::update_block_notice()
S
62 4 12
Disable_Comments::filter_rest_endpoints()
S
63 4 12
Disable_Comments::settings_page_assets()
S
50 3 27
DisableComments_Plugin_Tracker::deactivate_action_links()
S
62 4 11
DisableComments_Plugin_Tracker::has_user_opted_out()
S
63 4 11
Disable_Comments::update_options()
S
66 4 8
DisableComments_Plugin_Tracker::is_time_to_track()
S
70 4 5
Disable_Comments::filter_gutenberg_blocks()
S
70 4 6
Disable_Comments::remove_network_comment_links()
S
65 4 9
Disable_Comments::discussion_notice()
S
62 4 10
DisableComments_Plugin_Tracker::redirect_to()
S
58 3 14
DisableComments_Plugin_Tracker::deactivate_reasons_form_submit()
S
60 3 13
Disable_Comments::plugin_actions_links()
S
61 3 12
DisableComments_Plugin_Tracker::is_tracking_allowed()
S
63 3 11
Disable_Comments::get_roles()
S
56 2 18
Disable_Comments::filter_existing_comments()
S
74 3 4
Disable_Comments::filter_comment_status()
S
74 3 4
Disable_Comments::discussion_settings_allowed()
S
73 3 5
Disable_Comments::is_post_type_disabled()
S
70 3 6
Disable_Comments::filter_comments_number()
S
74 3 4
DisableComments_Plugin_Tracker::schedule_tracking()
S
67 3 8
Disable_Comments::settings_page_url()
S
73 3 4
Disable_Comments::is_remove_everywhere()
S
67 3 9
Disable_Comments::filter_admin_bar()
S
67 3 8
Disable_Comments::tools_page_url()
S
73 3 4
DisableComments_Plugin_Tracker::deactivation_reasons()
S
55 1 20
Disable_Comments::filter_query()
S
72 2 5
DisableComments_Plugin_Tracker::activate_this_plugin()
S
70 2 7
DisableComments_Plugin_Tracker::get_instance()
S
71 2 6
Disable_Comments::get_instance()
S
72 2 6
Disable_Comments::set_plugin_meta()
S
67 2 8
DisableComments_Plugin_Tracker::plugin_data()
S
68 2 7
Disable_Comments::admin_css()
S
70 1 11
DisableComments_Plugin_Tracker::set_notice_options()
S
65 1 9
Disable_Comments::single_site_deactivate()
S
81 1 3
Disable_Comments::filter_wp_headers()
S
76 1 4
Disable_Comments::enable_cli()
S
76 1 4
DisableComments_Plugin_Tracker::set_track_time()
S
72 1 5
DisableComments_Plugin_Tracker::init()
S
65 1 8
Disable_Comments::filter_dashboard()
S
79 1 3
Disable_Comments::form_data_modify()
S
80 1 3
Disable_Comments::disable_xmlrc_comments()
S
76 1 4
Disable_Comments::disable_comments_script()
S
77 1 3
Disable_Comments::disable_rest_API_comments()
S
83 1 3
Disable_Comments::tools_page()
S
83 1 3
DisableComments_Plugin_Tracker::force_tracking()
S
81 1 3
Disable_Comments::register_text_domain()
S
77 1 3
Disable_Comments::dummy_comments_template()
S
79 1 3
Disable_Comments::disable_rc_widget()
S
76 1 4
Disable_Comments::redirectToMainSettingsPage()
S
76 1 4