Code Analysis: Responsive Starter Templates 2.7.4

Function Rating Maintainability Complexity Lines of code
WXR_Importer::process_post()
C
27
26 162
WXR_Importer::parse_post_node()
C
33 28 93
Responsive_Ready_Sites_Widgets_Importer::import_widgets_data()
C
30 26 117
WXR_Importer::import()
B
34 20 101
WXR_Importer::get_preliminary_information()
B
37 18 77
Responsive_Ready_Sites_Importer::import_single_page()
B
40 18 51
WXR_Importer::parse_comment_node()
B
42 17 55
WXR_Importer::process_comments()
B
38 16 68
Responsive_Ready_Sites_Options_Importer::import_options()
B
46 17 37
Responsive_Ready_Sites_Importer::import_wpforms()
A
42 14 50
WXR_Importer::parse_term_node()
A
40 13 64
WXR_Importer::post_process_posts()
A
38 11 76
WXR_Importer::process_author()
A
40 11 64
Responsive_Ready_Sites_Batch_Processing_Gutenberg::get_content()
A
43 12 48
WXR_Importer::process_term()
A
41 10 60
WXR_Importer::process_attachment()
A
45 11 41
Responsive_Add_Ons::required_plugin()
A
46 11 36
Elementor\TemplateLibrary\Responsive_Ready_Sites_Batch_Processing_Elementor::import_single_post()
A
45 10 41
Responsive_Plugin_Install_Helper::get_button_html()
A
41 9 54
WP_Importer_Logger_ServerSentEvents::log()
A
52 11 24
WXR_Importer::fetch_remote_file()
A
44 9 45
WP_Background_Process::handle()
A
50 10 29
Responsive_Ready_Sites_Batch_Processing::process_batch()
A
45 9 39
WXR_Importer::post_process_comments()
A
44 8 51
Responsive_Ready_Sites_Options_Importer::set_woocommerce_product_cat()
A
55 10 18
Responsive_Ready_Sites_Importer::import_customizer_settings()
A
47 9 32
WXR_Importer::process_post_meta()
A
49 9 31
ResponsiveSDK\Modules\Rollback::get_remote_versions()
A
50 9 30
WXR_Importer::parse_author_node()
A
50 9 30
Responsive_Ready_Sites_Importer::get_responsive_single_demo()
A
42 7 57
WXR_Importer::process_menu_item_meta()
A
46 8 40
WXR_Importer::parse_authors()
A
47 8 38
Elementor\TemplateLibrary\Responsive_Ready_Sites_Batch_Processing_Elementor::responsive_import_post_meta()
A
48 8 34
Responsive_Add_Ons::responsive_ready_sites_admin_enqueue_scripts()
A
44 7 41
Responsive_Add_Ons::elementor_page_import_process()
A
50 8 25
Responsive_Ready_Sites_Importer::reset_widgets_data()
A
53 8 23
WXR_Importer::post_process_menu_item()
A
48 7 37
Responsive_Ready_Sites_Importer::import_xml_data()
S
50 7 27
Responsive_Add_Ons::render()
S
42 4 71
Responsive_Add_Ons::import_template_meta()
S
53 7 24
Responsive_Ready_Sites_Importer::import_post_meta()
S
53 7 24
Responsive_Add_Ons::required_plugin_activate()
S
48 6 36
Responsive_Ready_Sites_WXR_Importer::stream_import()
S
43 5 49
WXR_Importer::parse_meta_node()
S
55 7 19
ResponsiveSDK\Modules\Rollback::get_rollback()
S
56 7 18
Elementor\TemplateLibrary\Responsive_Ready_Sites_Batch_Processing_Elementor::import()
S
57 7 16
Responsive_Ready_Sites_Batch_Processing_Importer::import_sites()
S
48 6 31
Responsive_Add_Ons::site_filters()
S
42 3 73
Responsive_Ready_Sites_Importer::delete_imported_posts()
S
51 6 26
ResponsiveSDK\Modules\Rollback::add_footer()
S
49 5 37
Responsive_Ready_Sites_Importer::import_start()
S
53 6 22
Responsive_Ready_Sites_Importer::__construct()
S
46 5 35
Responsive_Add_Ons::responsive_addons_sanitize()
S
56 6 20
Responsive_Ready_Sites_Batch_Processing::initialize_ready_sites_templates_importer()
S
56 6 17
Responsive_Ready_Sites_Image_Importer::import()
S
45 4 47
Responsive_Add_Ons::responsive_add_ons_getting_started()
S
42 2 76
Responsive_Add_Ons::responsive_head()
S
58 6 15
Responsive_Ready_Sites_Image_Importer::get_saved_image()
S
46 4 45
Responsive_Ready_Sites_Options_Importer::sideload_image()
S
50 5 29
Responsive_Plugin_Install_Helper::check_plugin_state()
S
60 6 12
Responsive_Add_Ons::get_theme_status()
S
61 6 12
Responsive_Add_Ons::add_theme_installation_notice()
S
53 5 26
Elementor\TemplateLibrary\Responsive_Ready_Sites_Batch_Processing_Elementor::traverse_array_recursive()
S
61 6 11
Responsive_Ready_Sites_Importer_Log::log_dir()
S
52 5 24
WXR_Importer::parse_category_node()
S
56 5 20
Responsive_Ready_Sites_Importer::import_widgets()
S
54 5 19
WXR_Importer::import_start()
S
56 5 18
Responsive_Ready_Sites_Importer::import_options()
S
55 5 18
Responsive_Ready_Sites_Importer::delete_imported_terms()
S
56 5 17
Responsive_Ready_Sites_Batch_Processing::set_last_export_checksums()
S
56 5 17
Responsive_Add_Ons::check_responsive_theme_active()
S
57 5 16
Responsive_Ready_Sites_Importer::import_end()
S
56 5 16
WXR_Importer::term_exists()
S
58 5 15
Responsive_Add_Ons::responsive_add_ons_maybe_redirect_to_getting_started()
S
60 5 14
WXR_Importer::set_user_mapping()
S
58 5 14
WXR_Importer::post_process()
S
62 5 11
ResponsiveSDK\Product::setup_from_fileheaders()
S
52 4 25
Responsive_Add_Ons::get_responsive_theme()
S
53 4 24
Responsive_Ready_Sites_Importer::download_file()
S
48 3 37
Responsive_Ready_Sites_Batch_Processing_Gutenberg::import_single_post()
S
55 4 20
Responsive_Add_Ons::responsive_add_ons_quick_links()
S
46 2 48
ResponsiveSDK\Product::__construct()
S
59 4 15
Responsive_Add_Ons::get_total_requests()
S
58 4 15
Responsive_Add_Ons::remote_request()
S
57 4 15
Responsive_Add_Ons::is_responsive()
S
65 5 8
Responsive_Ready_Sites_Batch_Processing::get_total_requests()
S
58 4 15
Responsive_Ready_Sites_Importer::delete_imported_wp_forms()
S
58 4 14
Responsive_Ready_Sites_Importer::reset_site_options()
S
59 4 14
Responsive_Add_Ons::get_sites_by_elementor()
S
60 4 13
Responsive_Add_Ons::get_all_sites()
S
60 4 13
ResponsiveSDK\Common\Module_Factory::attach()
S
59 4 13
WXR_Importer::get_reader()
S
60 4 13
Responsive_Add_Ons::responsive_ready_sites_register_widget_scripts()
S
49 3 28
Responsive_Ready_Sites_Options_Importer::set_nav_menu_locations()
S
61 4 12
Responsive_Ready_Sites_Widgets_Importer::wie_available_widgets()
S
61 4 12
Responsive_Add_Ons::dismiss_notice()
S
60 4 12
Responsive_Ready_Sites_Batch_Processing_Gutenberg::import()
S
61 4 12
Responsive_Add_Ons::is_responsive_pro_license_is_active()
S
62 4 12
Responsive_Add_Ons::responsive_pro_license_is_active()
S
62 4 12
WXR_Importer::post_exists()
S
61 4 12
WXR_Importer::comment_exists()
S
61 4 12
WP_Background_Process::get_memory_limit()
S
62 4 11
Responsive_Add_Ons::__construct()
S
45 2 39
WP_Background_Process::is_queue_empty()
S
55 3 21
WP_Background_Process::get_batch()
S
49 2 34
ResponsiveSDK\Modules\Rollback::start_rollback_theme()
S
48 2 32
Responsive_Add_Ons::backup_settings()
S
56 3 16
Responsive_Ready_Sites_Batch_Processing::get_pages()
S
58 3 16
Responsive_Ready_Sites_Options_Importer::download_image()
S
65 4 9
ResponsiveSDK\Modules\Rollback::start_rollback()
S
64 4 9
Responsive_Add_Ons::responsive_ready_sites_admin_enqueue_styles()
S
69 4 6
WXR_Importer::remap_featured_images()
S
64 4 10
ResponsiveSDK\Product::setup_from_path()
S
59 3 14
Responsive_Ready_Sites_Batch_Processing_Menu::fix_nav_menus()
S
60 3 14
Responsive_Add_Ons::responsive_add_ons_templates()
S
61 3 14
Responsive_Ready_Sites_Options_Importer::site_options()
S
47 1 43
Responsive_Ready_Sites_Batch_Processing::process_ready_sites_templates_data_import()
S
61 3 13
Responsive_Add_Ons::responsive_addons_admin_rate_us()
S
59 3 13
Responsive_Ready_Sites_Importer_Log::add()
S
60 3 13
WP_Background_Process::maybe_handle()
S
63 3 12
Responsive_Add_Ons::is_responsive_pro_is_installed()
S
62 3 12
Responsive_Ready_Sites_Batch_Processing::start_process()
S
62 3 12
Responsive_Ready_Sites_Batch_Processing::get_last_export_checksums()
S
62 3 12
Responsive_Add_Ons::is_responsive_addons_pro_is_active()
S
63 3 11
Responsive_Add_Ons::responsive_add_ons_remove_all_admin_notices()
S
62 3 11
Responsive_Ready_Sites_WXR_Importer::real_mimes()
S
63 3 11
WP_Background_Process::handle_cron_healthcheck()
S
65 3 11
ResponsiveSDK\Modules\Rollback::get_api_versions()
S
61 3 11
Responsive_Ready_Sites_Batch_Processing::start_process_page()
S
57 2 19
Responsive_Add_Ons::set_reset_data()
S
57 2 17
Responsive_Ready_Sites_WXR_Importer::__construct()
S
57 2 16
Responsive_Ready_Sites_Importer::on_wp_import_post_meta()
S
65 3 9
Responsive_Add_Ons::get_sites_by_page_builder()
S
64 3 10
Responsive_Plugin_Install_Helper::get_plugin_path()
S
64 3 10
ResponsiveSDK\Modules\Rollback::can_load()
S
71 3 6
Responsive_Ready_Sites_Batch_Processing::import_sites()
S
66 3 8
Responsive_Plugin_Install_Helper::instance()
S
70 3 6
WXR_Importer::sort_comments_by_id()
S
66 3 9
Responsive_Ready_Sites_Image_Importer::is_image_url()
S
66 3 9
Responsive_Ready_Sites_Importer::set_timeout_for_images()
S
65 3 9
Responsive_Ready_Sites_Importer::is_image_url()
S
66 3 9
Responsive_Ready_Sites_Importer::force_delete_kit()
S
67 3 8
ResponsiveSDK\Loader::init()
S
67 3 7
Responsive_Add_Ons::responsive_addons_admin_page()
S
61 2 14
Responsive_Add_Ons::responsive_add_ons_admin_menu()
S
53 1 29
Responsive_Add_Ons::activate_theme()
S
61 2 13
Responsive_Ready_Sites_Importer_Log::get_memory_limit()
S
61 2 13
WP_Async_Request::get_post_args()
S
62 2 12
Responsive_Ready_Sites_Batch_Processing_Gutenberg::allowed_tags_and_attributes()
S
62 2 12
WP_Background_Process::schedule_cron_healthcheck()
S
61 2 11
WXR_Importer::import_end()
S
63 2 11
Responsive_Ready_Sites_Batch_Processing::__construct()
S
53 1 23
Responsive_Ready_Sites_WXR_Importer::get_xml_data()
S
53 1 23
WXR_Importer::__construct()
S
55 1 22
Responsive_Ready_Sites_Importer_Log::start()
S
55 1 20
Responsive_Add_Ons::get_default_page_builders()
S
58 1 19
Responsive_Plugin_Install_Helper::enqueue_scripts()
S
58 1 17
Responsive_Ready_Sites_Importer::on_wxr_importer_pre_process_post_meta()
S
70 2 6
Responsive_Ready_Sites_Importer::reset_customizer_data()
S
64 2 9
responsive_addon_load_sdk()
S
68 2 7
Responsive_Ready_Sites_Batch_Processing_Gutenberg::get_instance()
S
71 2 6
Responsive_Ready_Sites_Batch_Processing_Menu::get_instance()
S
71 2 6
WP_Background_Process::is_process_running()
S
71 2 6
WXR_Importer::prefill_existing_comments()
S
65 2 8
Responsive_Ready_Sites_Image_Importer::process()
S
68 2 7
Responsive_Ready_Sites_Importer_Log::get_instance()
S
71 2 6
WP_Background_Process::clear_scheduled_event()
S
71 2 6
Responsive_Ready_Sites_Batch_Processing::get_instance()
S
71 2 6
Responsive_Add_Ons::is_activation_theme_notice_expired()
S
68 2 7
responsive_sdk_load_latest()
S
70 2 6
WXR_Importer::log_error()
S
68 2 7
WP_Async_Request::get_query_args()
S
66 2 9
Responsive_Ready_Sites_WXR_Importer::imported_post()
S
65 2 9
WP_Background_Process::update()
S
71 2 6
WP_Async_Request::get_query_url()
S
71 2 6
Responsive_Ready_Sites_Importer_Log::has_file_read_write()
S
64 2 9
Responsive_Add_Ons::init_nav_menu()
S
74 2 5
WP_Background_Process::time_exceeded()
S
66 2 8
Responsive_Ready_Sites_WXR_Importer::get_data()
S
68 2 8
Responsive_Ready_Sites_WXR_Importer::already_imported_post()
S
65 2 9
Responsive_Ready_Sites_Options_Importer::instance()
S
71 2 6
Responsive_Ready_Sites_WXR_Importer::track_term()
S
68 2 7
Responsive_Ready_Sites_Options_Importer::update_page_id_by_option_value()
S
70 2 6
WP_Background_Process::save()
S
69 2 7
Responsive_Ready_Sites_Options_Importer::insert_logo()
S
71 2 6
WP_Background_Process::lock_process()
S
68 2 6
WP_Background_Process::schedule_event()
S
73 2 5
ResponsiveSDK\Modules\Rollback::alter_links_theme_upgrade()
S
70 2 6
Responsive_Ready_Sites_Importer_Log::get_xmlreader_status()
S
70 2 6
ResponsiveSDK\Product::get_base_url()
S
73 2 5
Responsive_Ready_Sites_Batch_Processing_Importer::get_instance()
S
71 2 6
ResponsiveSDK\Modules\Rollback::get_versions_api_url()
S
73 2 5
WP_Background_Process_Responsive_Single::task()
S
66 2 8
Responsive_Ready_Sites_Importer_Log::get_timezone()
S
69 2 7
Responsive_Ready_Sites_Image_Importer::__construct()
S
71 2 6
Responsive_Ready_Sites_WXR_Importer::instance()
S
71 2 6
Responsive_Ready_Sites_Batch_Processing::ready_sites_requests_count()
S
70 2 7
Responsive_Ready_Sites_Batch_Processing::update_sites_library()
S
69 2 7
Responsive_Ready_Sites_Widgets_Importer::instance()
S
71 2 6
Responsive_Ready_Sites_Image_Importer::get_instance()
S
71 2 6
WP_Background_Process_Responsive::task()
S
71 2 6
Responsive_Ready_Sites_Importer_Log::set_log_file()
S
65 2 8
WP_Background_Process::cancel_process()
S
69 2 7
Responsive_Add_Ons::get_sync_complete_message()
S
67 2 8
Responsive_Ready_Sites_Importer_Log::get_debug_mode()
S
71 2 6
Responsive_Ready_Sites_Importer_Log::get_php_extension_gd()
S
70 2 6
Responsive_Ready_Sites_Importer_Log::get_php_version()
S
70 2 6
WXR_Importer::replace_attachment_urls_in_content()
S
62 2 10
WXR_Importer::prefill_existing_posts()
S
67 2 7
Responsive_Ready_Sites_Importer::get_instance()
S
71 2 6
WXR_Importer::prefill_existing_terms()
S
62 2 10
WXR_Importer::set_user_slug_overrides()
S
73 2 5
Responsive_Add_Ons::is_rea_activated()
S
68 2 8
Responsive_Ready_Sites_Importer::clear_cache()
S
71 2 6
WP_Background_Process::memory_exceeded()
S
64 2 9
ResponsiveSDK\Loader::add_product()
S
65 2 9
Responsive_Add_Ons::responsive_add_ons_community_support()
S
69 2 7
WXR_Importer::is_valid_meta_key()
S
71 2 6
Responsive_Ready_Sites_Importer_Log::get_software()
S
72 2 5
Responsive_Ready_Sites_WXR_Importer::get_importer()
S
61 1 13
ResponsiveSDK\Product::__debugInfo()
S
61 1 13
Responsive_Add_Ons::responsive_sites_get_api_params()
S
63 1 12
ResponsiveSDK\Product::get_friendly_name()
S
71 1 5
WP_Importer_Logger::log()
S
67 1 8
WP_Importer_Logger::emergency()
S
79 1 3
Responsive_Ready_Sites_Importer_Log::__construct()
S
79 1 3
WP_Async_Request::handle()
S
100 1 0
Responsive_Ready_Sites_Batch_Processing::set_api_url()
S
78 1 3
Responsive_Add_Ons::responsive_addons_translations()
S
77 1 3
Responsive_Ready_Sites_Importer_Log::current_time()
S
78 1 3
Responsive_Ready_Sites_Image_Importer::get_hash_image()
S
80 1 3
Responsive_Add_Ons::menu_callback()
S
72 1 7
Responsive_Add_Ons::init_settings()
S
70 1 7
ResponsiveSDK\Product::key_ready_name()
S
77 1 3
WP_Importer_Logger::debug()
S
79 1 3
ResponsiveSDK\Product::get_version()
S
82 1 3
ResponsiveSDK\Product::get_file()
S
82 1 3
Responsive_Add_Ons::render_tab_menu()
S
73 1 7
Responsive_Ready_Sites_Batch_Processing_Importer::set_api_url()
S
78 1 3
Responsive_Add_Ons_Activator::activate()
S
75 1 4
Responsive_Ready_Sites_Importer_Log::get_php_max_input_vars()
S
80 1 3
activate_responsive_addons()
S
76 1 4
Responsive_Add_Ons::responsive_add_ons_go_pro()
S
80 1 3
Responsive_Add_Ons::activate()
S
89 1 2
Responsive_Ready_Sites_Importer_Log::add_log_file_url()
S
63 1 10
Responsive_Ready_Sites_Batch_Processing_Gutenberg::__construct()
S
98 1 1
ResponsiveSDK\Product::is_wordpress_available()
S
82 1 3
WP_Async_Request::dispatch()
S
72 1 5
WXR_Importer::bump_request_timeout()
S
83 1 3
WP_Background_Process::generate_key()
S
71 1 5
WP_Background_Process::delete()
S
77 1 4
Responsive_Ready_Sites_WXR_Importer::track_post()
S
74 1 4
Responsive_Ready_Sites_Options_Importer::update_woocommerce_page_id_by_option_value()
S
75 1 4
WP_Background_Process::unlock_process()
S
76 1 4
WP_Importer_Logger::warning()
S
79 1 3
WP_Async_Request::data()
S
77 1 4
ResponsiveSDK\Product::get_install_time()
S
82 1 3
ResponsiveSDK\Common\Abstract_Module::load()
S
100 1 0
ResponsiveSDK\Loader::get_modules()
S
80 1 3
Responsive_Ready_Sites_WXR_Importer::real_mime_types_5_1_0()
S
79 1 3
Responsive_Add_Ons_Deactivator::deactivate()
S
95 1 1
ResponsiveSDK\Modules\Rollback::load()
S
74 1 5
Responsive_Ready_Sites_Batch_Processing_Menu::import()
S
81 1 3
Responsive_Ready_Sites_WXR_Importer::imported_term()
S
67 1 9
ResponsiveSDK\Product::is_theme()
S
80 1 3
WXR_Importer::cmpr_strlen()
S
79 1 3
WP_Background_Process::complete()
S
82 1 3
Responsive_Ready_Sites_Batch_Processing_Importer::__construct()
S
81 1 3
WXR_Importer::mark_term_exists()
S
74 1 4
Responsive_Ready_Sites_Batch_Processing_Menu::__construct()
S
98 1 1
Responsive_Ready_Sites_WXR_Importer::imported_comment()
S
67 1 9
WXR_Importer::mark_comment_exists()
S
74 1 4
Responsive_Ready_Sites_WXR_Importer::add_mime_type_xml_and_json()
S
69 1 7
WP_Importer_Logger::notice()
S
79 1 3
WP_Background_Process_Responsive_Single::complete()
S
77 1 4
Responsive_Add_Ons::responsive_add_ons_on_admin_init()
S
82 1 3
Responsive_Ready_Sites_Importer_Log::get_filesystem()
S
71 1 6
WP_Background_Process::__construct()
S
67 1 7
Responsive_Add_Ons::set_api_url()
S
78 1 3
Responsive_Ready_Sites_Batch_Processing_Importer::get_filesystem()
S
71 1 6
WP_Importer_Logger::critical()
S
79 1 3
WP_Async_Request::maybe_handle()
S
71 1 6
Responsive_Add_Ons::responsive_ready_sites_insert_templates()
S
74 1 5
ResponsiveSDK\Product::get_name()
S
82 1 3
WP_Importer_Logger::alert()
S
79 1 3
Responsive_Ready_Sites_WXR_Importer::imported_user()
S
67 1 9
WP_Importer_Logger::error()
S
79 1 3
ResponsiveSDK\Modules\Rollback::add_hooks()
S
74 1 4
Responsive_Add_Ons::load_responsive_sites_importer()
S
80 1 3
Responsive_Add_Ons::plugin_settings_link()
S
72 1 5
Responsive_Ready_Sites_Importer_Log::get_os()
S
81 1 3
Responsive_Add_Ons::responsive_ready_sites_elementor_styles()
S
78 1 3
Responsive_Ready_Sites_Importer_Log::get_log_file()
S
80 1 3
WP_Async_Request::__construct()
S
71 1 5
Responsive_Ready_Sites_Importer_Log::get_mysql_version()
S
76 1 4
ResponsiveSDK\Loader::get_version()
S
80 1 3
WXR_Importer::set_logger()
S
81 1 3
Responsive_Ready_Sites_Batch_Processing::update_latest_checksums()
S
75 1 4
Responsive_Add_Ons::app_output_buffer()
S
82 1 3
ResponsiveSDK\Product::get_type()
S
82 1 3
ResponsiveSDK\Modules\Rollback::sort_rollback_array()
S
77 1 3
WP_Background_Process::dispatch()
S
77 1 4
ResponsiveSDK\Product::get_key()
S
82 1 3
Responsive_Ready_Sites_WXR_Importer::real_mime_types()
S
79 1 3
WP_Background_Process::task()
S
100 1 0
WP_Background_Process::push_to_queue()
S
76 1 4
Responsive_Ready_Sites_Batch_Processing::get_post_types_supporting()
S
68 1 7
ResponsiveSDK\Product::get_basefile()
S
82 1 3
ResponsiveSDK\Product::get_slug()
S
82 1 3
Responsive_Ready_Sites_Importer::load_importer()
S
72 1 5
Responsive_Ready_Sites_WXR_Importer::emit_sse_message()
S
70 1 6
Responsive_Ready_Sites_Batch_Processing::update_templates_library_complete()
S
78 1 4
WP_Background_Process_Responsive::complete()
S
74 1 5
Responsive_Add_Ons::update_first_time_activation_variable()
S
80 1 3
deactivate_responsive_addons()
S
76 1 4
WP_Importer_Logger::info()
S
79 1 3
WXR_Importer::mark_post_exists()
S
75 1 4
Responsive_Add_Ons::deactivate()
S
89 1 2
WXR_Importer::max_attachment_size()
S
79 1 3
Responsive_Add_Ons::get_active_site_data()
S
76 1 4
Responsive_Add_Ons::admin_init()
S
82 1 3
ResponsiveSDK\Loader::get_products()
S
80 1 3
Responsive_Ready_Sites_Importer_Log::get_php_max_post_size()
S
80 1 3
ResponsiveSDK\Common\Abstract_Module::can_load()
S
100 1 0
Responsive_Ready_Sites_Importer_Log::get_max_execution_time()
S
80 1 3