Code Analysis: Simple 301 Redirects 2.0.4

Function Rating Maintainability Complexity Lines of code
Simple301Redirects\Admin\WPDev\PluginUsageTracker::send_data()
C
34 31 80
Simple301Redirects\Admin\WPDev\PluginUsageTracker::get_data()
B
39 16 60
Simple301Redirects\Admin\WPDev\PluginUsageTracker::deactivate_reasons_form()
A
31 8 138
Simple301Redirects::redirect()
A
46 12 35
Simple301Redirects\Admin\WPDev\PluginUsageTracker::set_is_tracking_allowed()
A
54 9 22
Simple301Redirects\Admin\Assets::plugin_scripts()
A
44 7 45
Simple301Redirects\Admin\WPDev\PluginUsageTracker::clicked()
A
54 8 20
Simple301Redirects\Admin\WPDev\PluginUsageTracker::__construct()
S
57 8 14
Simple301Redirects\Admin\Tools::import_data()
S
57 8 14
Simple301Redirects\Helper::install_plugin()
S
51 7 25
Simple301Redirects\Admin\Tools::export_data()
S
53 7 20
Simple301Redirects\Admin\Tools::process_data()
S
58 6 14
Simple301Redirects\Admin\WPDev\PluginUsageTracker::deactivate_this_plugin()
S
54 5 21
Simple301Redirects\Admin\WPDev\PluginUsageTracker::notice()
S
48 4 35
Simple301Redirects\Admin\WPDev\PluginUsageTracker::remote_post()
S
54 5 19
Simple301Redirects\Admin\WPDev\PluginUsageTracker::diff()
S
60 5 14
Simple301Redirects\Admin\Ajax::activate_plugin()
S
58 5 14
Simple301Redirects\Admin\WPDev\PluginUsageTracker::do_tracking()
S
61 5 13
Simple301Redirects\API\Settings::update_item()
S
58 4 15
Simple301Redirects\Admin\WPDev\PluginUsageTracker::update_block_notice()
S
62 4 12
Simple301Redirects\Admin\Ajax::install_plugin()
S
61 4 11
Simple301Redirects\Admin\WPDev\PluginUsageTracker::deactivate_action_links()
S
62 4 11
Simple301Redirects\Admin\WPDev\PluginUsageTracker::has_user_opted_out()
S
63 4 11
Simple301Redirects\Helper::get_remote_plugin_data()
S
54 3 23
Simple301Redirects\Admin\WPDev\PluginUsageTracker::is_time_to_track()
S
70 4 5
Simple301Redirects\Admin\WPDev\PluginUsageTracker::redirect_to()
S
58 3 14
Simple301Redirects\Admin\WPDev\PluginUsageTracker::deactivate_reasons_form_submit()
S
60 3 13
Simple301Redirects\Admin\WPDev\PluginUsageTracker::is_tracking_allowed()
S
63 3 11
Simple301Redirects\API\Settings::register_routes()
S
51 1 32
Simple301Redirects\Admin\WPDev\PluginUsageTracker::schedule_tracking()
S
67 3 8
Simple301Redirects\Admin\Ajax::hide_notice()
S
65 3 8
Simple301Redirects::get_protocol()
S
68 3 7
Simple301Redirects\API\Settings::delete_item()
S
62 2 12
Simple301Redirects\API\Settings::create_item()
S
62 2 12
Simple301Redirects\Helper::str_ireplace()
S
62 2 11
Simple301Redirects\Admin\WPDev\PluginUsageTracker::deactivation_reasons()
S
55 1 20
Simple301Redirects\API\Settings::get_args_schema()
S
60 1 16
Simple301Redirects::init_plugin()
S
68 2 8
Simple301Redirects\Helper::plugin_page_hook_suffix()
S
71 2 6
Simple301Redirects\Admin::skip_no_conflict()
S
68 2 7
Simple301Redirects\Admin\WPDev\PluginUsageTracker::activate_this_plugin()
S
70 2 7
Simple301Redirects\Admin\Menu::__construct()
S
70 2 6
Simple301Redirects\Admin::usage_tracker()
S
59 1 15
Simple301Redirects\Installer::set_version_number()
S
73 2 5
Simple301Redirects\Admin\WPDev\PluginUsageTracker::plugin_data()
S
68 2 7
Simple301Redirects\Admin\Ajax::get_wildcard()
S
70 2 6
Simple301Redirects\Admin\Ajax::wildcard()
S
67 2 7
Simple301Redirects::init()
S
69 2 7
Simple301Redirects\Admin\Tools::get_import_info()
S
64 2 10
Simple301Redirects\Admin\WPDev\PluginUsageTracker::get_instance()
S
71 2 6
Simple301Redirects::define_constants()
S
70 1 11
Simple301Redirects\API::register_settings_rest_API()
S
80 1 3
Simple301Redirects\API\Settings::permissions_check()
S
80 1 3
Simple301Redirects\Admin\WPDev\PluginUsageTracker::init()
S
65 1 8
Simple301Redirects::load_installer()
S
76 1 4
Simple301Redirects\Admin::init_ajax()
S
80 1 3
Simple301Redirects\Admin\Ajax::__construct()
S
67 1 7
Simple301Redirects\API\Settings::get_items()
S
72 1 6
Simple301Redirects\Admin\Menu::load_main_template()
S
82 1 3
Simple301Redirects\Admin\WPDev\PluginUsageTracker::set_track_time()
S
72 1 5
Simple301Redirects\Installer::migrate()
S
82 1 3
Simple301Redirects\Admin::load_assets()
S
80 1 3
Simple301Redirects\Admin\Tools::__construct()
S
72 1 5
Simple301Redirects\Admin::add_menu()
S
80 1 3
Simple301Redirects\Admin\WPDev\PluginUsageTracker::force_tracking()
S
81 1 3
Simple301Redirects\Admin::init_tools()
S
80 1 3
Simple301Redirects::__construct()
S
70 1 6
Simple301Redirects\Admin\Menu::create_menu()
S
78 1 3
Simple301Redirects\API\Settings::__construct()
S
72 1 5
Simple301Redirects\Admin\WPDev\PluginUsageTracker::set_notice_options()
S
65 1 9
Simple301Redirects\API::whitelist_API()
S
74 1 5
Simple301Redirects::get_address()
S
78 1 3
Simple301Redirects::on_plugins_loaded()
S
81 1 3
Simple301Redirects\API::__construct()
S
75 1 4
Simple301Redirects\Admin::__construct()
S
67 1 8
Simple301Redirects::load_textdomain()
S
77 1 3
Simple301Redirects\Helper::is_activated_betterlinks()
S
80 1 3
Simple301Redirects\Admin\Assets::__construct()
S
79 1 3
Simple301Redirects_Start()
S
82 1 3