Code Analysis: Doofinder WP & WooCommerce Search 2.0.29

Function Rating Maintainability Complexity Lines of code
Doofinder\WP\Post::is_indexable()
A
51 12 29
Doofinder\WP\Migration::transform_additional_attributes()
A
46 9 41
Doofinder\WP\Doofinder_For_WordPress::__construct()
A
46 8 39
Doofinder\WP\Setup_Wizard::__construct()
A
51 9 23
Doofinder\WP\Migration::do_woocommerce_migration()
A
48 8 33
Doofinder\WP\Add_To_Cart::product_info()
A
49 8 31
Doofinder\WP\Setup_Wizard::are_api_keys_present()
A
50 8 31
Doofinder\WP\Api\Store_Api::normalize_store_and_indices()
A
47 7 36
Doofinder\WP\Update_On_Save::add_item_to_db()
A
55 8 17
Doofinder\WP\Setup_Wizard::creating_all_structure()
A
44 6 46
Doofinder\WP\Helpers\Template_Engine::get_svg()
S
52 7 24
Doofinder\WP\Update_Manager::check_updates()
S
47 6 35
Doofinder\WP\Multilanguage\WPML::get_formatted_languages()
S
55 7 19
Doofinder\WP\Update_On_Save_Index::update_on_save()
S
51 6 28
Doofinder\WP\Index_Status_Handler::index_status()
S
46 5 39
Doofinder\WP\Setup_Wizard::check_data()
S
53 6 23
Doofinder\WP\Setup_Wizard::set_search_engines()
S
52 6 23
Doofinder\WP\Log::log()
S
53 6 22
Doofinder\WP\Add_To_Cart::doofinder_ajax_add_to_cart()
S
53 6 21
Doofinder\WP\Setup_Wizard::process_step_2()
S
54 6 21
Doofinder\WP\Post::process_meta()
S
56 6 18
Doofinder\WP\Setup_Wizard::next_step()
S
50 5 32
Doofinder\WP\Setup_Wizard::process_step_1()
S
57 6 15
Doofinder\WP\Multilanguage\WPML::get_current_language()
S
60 6 14
Doofinder\WP\Post::format_for_api()
S
51 5 27
Doofinder\WP\REST_API_Handler::get_raw_price()
S
60 6 11
Doofinder\WP\Setup_Wizard::get_setup_wizard_notice_html()
S
48 4 39
Doofinder\WP\Setup_Wizard::check_api_settings()
S
52 5 24
Doofinder\WP\Helpers\Store_Helpers::create_application_credentials()
S
52 5 24
Doofinder\WP\Helpers\Template_Engine::resolve_file()
S
53 5 24
Doofinder\WP\Admin_Notices::render_notice()
S
50 4 37
Doofinder\WP\Setup_Wizard::set_layer_script()
S
54 5 20
Doofinder\WP\Setup_Wizard::admin_page_init()
S
57 5 18
Doofinder\WP\Update_Manager::update_020000()
S
55 5 18
Doofinder\WP\JS_Layer::insert_js_layer_from_options()
S
57 5 16
Doofinder\WP\Doofinder_For_WordPress::upgrader_process_complete()
S
57 5 16
Doofinder\WP\Helpers::in_array_r()
S
65 6 8
Doofinder\WP\Helpers\Helpers::in_array_r()
S
65 6 8
Doofinder\WP\Setup_Wizard::process_wizard_step()
S
61 5 14
Doofinder\WP\Admin_Notices::init()
S
59 5 14
Doofinder\WP\Post::get_meta_fields()
S
60 5 13
Doofinder\WP\Helpers\Helpers::get_memory_usage()
S
59 5 12
Doofinder\WP\Multilanguage\WPML::__construct()
S
52 4 23
Doofinder\WP\Post::get_categories()
S
53 4 23
Doofinder\WP\Api\Reset_Credentials_Api::sendRequest()
S
53 4 22
Doofinder\WP\Setup_Wizard::get_indexing_status_notice_html()
S
46 1 66
Doofinder\WP\Api\Store_Api::build_search_engines()
S
53 4 21
Doofinder\WP\Post::render_html_indexing_visibility()
S
56 4 19
Doofinder\WP\Api\Store_Api::update_custom_attributes()
S
56 4 18
Doofinder\WP\Api\Store_Api::build_callback_url()
S
56 4 17
Doofinder\WP\Setup_Wizard::clear_all_settings()
S
57 4 16
Doofinder\WP\Migration::maybe_fix_api_host()
S
57 4 16
Doofinder\WP\Settings::get_product_rest_attributes()
S
57 4 16
Doofinder\WP\Config::__construct()
S
50 3 31
Doofinder\WP\Setup_Wizard::get_errors_html()
S
59 4 15
Doofinder\WP\Setup_Wizard::set_indexing_status()
S
60 4 14
Doofinder\WP\Multilanguage\Multilanguage::instance()
S
61 4 14
Doofinder\WP\Update_On_Save::add_item_to_update()
S
59 4 13
Doofinder\WP\REST_API_Handler::get_df_image_link()
S
59 4 13
Doofinder\WP\REST_API_Handler::initialize()
S
61 4 11
Doofinder\WP\Settings::get_additional_attributes_options()
S
52 3 26
Doofinder\WP\Update_On_Save::allow_process_items()
S
53 3 22
Doofinder\WP\Doofinder_For_WordPress::autoload()
S
54 3 19
Doofinder\WP\Api\Update_On_Save_Api::sendRequest()
S
56 3 17
Doofinder\WP\Doofinder_For_WordPress::plugin_enabled()
S
59 3 15
Doofinder\WP\Api\Store_Api::throw_exception()
S
63 4 10
Doofinder\WP\Multilanguage::__construct()
S
70 4 6
Doofinder\WP\Api\Store_Api::get_callback_urls()
S
58 3 14
Doofinder\WP\Multilanguage::get_choose_language_notice()
S
61 3 13
Doofinder\WP\Thumbnail::get()
S
60 3 13
Doofinder\WP\Post::get_category_full_path()
S
62 3 13
Doofinder\WP\Multilanguage\WPML::get_option_name()
S
62 3 12
Doofinder\WP\Post::handle_additional_settings_save()
S
61 3 12
Doofinder\WP\Migration::migrate()
S
61 3 12
Doofinder\WP\Multilanguage\No_Language_Plugin::get_option_name()
S
63 3 11
Doofinder\WP\Multilanguage\WPML::get_active_language()
S
64 3 11
Doofinder\WP\Post::__construct()
S
63 3 11
Doofinder\WP\Update_On_Save::add_to_update_on_save_db()
S
53 2 25
Doofinder\WP\Settings::initialize()
S
53 2 23
Doofinder\WP\Platform_Confirmation::generate()
S
55 2 22
Doofinder\WP\Post::fetch_meta()
S
54 2 22
Doofinder\WP\Api\Store_Api::sendRequest()
S
53 2 22
Doofinder\WP\Settings::__construct()
S
57 2 18
Doofinder\WP\Settings::add_schedules()
S
50 1 33
Doofinder\WP\Doofinder_For_WordPress::register_ajax_action()
S
57 2 18
Doofinder\WP\Add_To_Cart::enqueue_script()
S
58 2 17
Doofinder\WP\Update_On_Save::create_update_on_save_db()
S
57 2 17
Doofinder\WP\Setup_Wizard::register_ajax_action()
S
57 2 17
Doofinder\WP\REST_API_Handler::get_raw_real_price()
S
59 2 16
Doofinder\WP\Multilanguage::for_each()
S
63 3 10
Doofinder\WP\Config::get_wizard_status()
S
66 3 9
Doofinder\WP\Setup_Wizard::show_wizard()
S
66 3 8
Doofinder\WP\Setup_Wizard::get_error()
S
64 3 10
Doofinder\WP\Setup_Wizard::remove_wizard_step_error()
S
67 3 7
Doofinder\WP\Multilanguage::get_home_url()
S
68 3 7
Doofinder\WP\JS_Layer::__construct()
S
66 3 9
Doofinder\WP\Update_On_Save::register_hooks()
S
65 3 8
Doofinder\WP\Migration::add_notices()
S
63 3 10
Doofinder\WP\REST_API_Handler::get_product_cat_df_image_link()
S
66 3 7
Doofinder\WP\Admin_Notices::remove_notice()
S
64 3 10
Doofinder\WP\Helpers\Helpers::prepare_host()
S
68 3 7
Doofinder\WP\Setup_Wizard::is_wizard_page()
S
77 3 3
Doofinder\WP\Migration::transform_product_attribute()
S
65 3 9
Doofinder\WP\Doofinder_For_WordPress::register_admin_scripts_and_styles()
S
58 2 14
Doofinder\WP\Api\Store_Api::build_store_payload()
S
59 2 14
Doofinder\WP\Config::get_multilanguage_configuration()
S
61 2 13
Doofinder\WP\Setup_Wizard::is_valid_token()
S
60 2 13
Doofinder\WP\Thumbnail::regenerate_thumbnail()
S
63 2 12
Doofinder\WP\Update_On_Save_Index::get_posts_ids_by_type_indexation()
S
61 2 12
Doofinder\WP\Helpers\Store_Helpers::get_store_options()
S
61 2 12
Doofinder\WP\Migration::migrate_option()
S
61 2 11
Doofinder\WP\Setup_Wizard::get_setup_wizard_migration_notice_html()
S
56 1 24
Doofinder\WP\Post::add_additional_settings()
S
59 1 16
Doofinder\WP\Api\Store_Api::get_product_datatype()
S
59 1 16
Doofinder\WP\Log::__construct()
S
75 2 5
Doofinder\WP\Multilanguage\Polylang::get_active_language()
S
71 2 6
Doofinder\WP\Api\Store_Api::get_datatype()
S
73 2 5
Doofinder\WP\Migration::finish_migration()
S
65 2 9
Doofinder\WP\Setup_Wizard::instance()
S
71 2 6
Doofinder\WP\Add_To_Cart::instance()
S
72 2 6
Doofinder\WP\Setup_Wizard::activate()
S
71 2 6
Doofinder\WP\Helpers\Template_Engine::create()
S
68 2 7
Doofinder\WP\Setup_Wizard::should_show_notice()
S
72 2 5
Doofinder\WP\Setup_Wizard::save_api_settings()
S
66 2 9
Doofinder\WP\Setup_Wizard::should_show_indexing_notice()
S
65 2 8
Doofinder\WP\Multilanguage::instance()
S
72 2 6
Doofinder\WP\Multilanguage\Polylang::get_languages()
S
66 2 8
Doofinder\WP\Platform_Confirmation::languages_from_plugins()
S
72 2 5
Doofinder\WP\Setup_Wizard::get_step()
S
69 2 7
Doofinder\WP\Multilanguage::get_language_code()
S
69 2 7
Doofinder\WP\Setup_Wizard::get_url()
S
68 2 7
Doofinder\WP\Config::get_languages()
S
69 2 7
Doofinder\WP\Multilanguage::code_suffix()
S
71 2 6
Doofinder\WP\Setup_Wizard::add_notices()
S
69 2 7
Doofinder\WP\Platform_Confirmation::prepare_languages()
S
71 2 7
Doofinder\WP\Platform_Confirmation::language_from_locale()
S
66 2 8
Doofinder\WP\Helpers\Template_Engine::get_clean_svg()
S
66 2 8
Doofinder\WP\Update_Manager::log()
S
73 2 5
Doofinder\WP\Multilanguage::__call()
S
68 2 6
Doofinder\WP\Multilanguage::get_language_prefix()
S
69 2 7
Doofinder\WP\Setup_Wizard::add_wizard_step_error()
S
63 2 10
Doofinder\WP\Helpers\Template_Engine::get_template()
S
67 2 7
Doofinder\WP\Setup_Wizard::get_currency()
S
69 2 7
Doofinder\WP\Doofinder_For_WordPress::instance()
S
72 2 6
Doofinder\WP\Update_On_Save::is_cron_enabled()
S
78 2 3
Doofinder\WP\Update_Manager::normalize_plugin_version()
S
65 2 8
Doofinder\WP\Post::get_excerpt()
S
71 2 6
Doofinder\WP\Api\Store_Api::get_primary_language()
S
67 2 8
Doofinder\WP\Helpers::is_debug_mode()
S
79 2 3
Doofinder\WP\Doofinder_For_WordPress::plugin_update()
S
74 2 5
Doofinder\WP\JS_Layer::instance()
S
71 2 6
Doofinder\WP\Update_On_Save::activate_update_on_save_task()
S
66 2 8
Doofinder\WP\Multilanguage\Polylang::get_current_language()
S
71 2 6
Doofinder\WP\Update_On_Save::update_on_save_schedule_updated()
S
72 2 6
Doofinder\WP\Api\Store_Api::get_post_datatype()
S
60 1 15
Doofinder\WP\Settings::instance()
S
72 2 6
Doofinder\WP\Config::get_single_language_configuration()
S
64 2 10
Doofinder\WP\REST_API_Handler::add_base_url_if_needed()
S
70 2 6
Doofinder\WP\Api\Store_Api::create_store()
S
64 2 10
Doofinder\WP\Api\Update_On_Save_Api::__construct()
S
59 1 14
Doofinder\WP\Api\Reset_Credentials_Api::__construct()
S
59 1 14
Doofinder\WP\Settings::filter_product_rest_attributes()
S
61 1 14
Doofinder\WP\Admin_Notices::add_notice()
S
61 1 12
Doofinder\WP\Setup_Wizard::get_configure_via_setup_wizard_button_html()
S
63 1 11
Doofinder\WP\Reset_Credentials::get_configure_via_reset_credentials_button_html()
S
64 1 11
Doofinder\WP\Multilanguage\WPML::get_home_url()
S
68 1 7
Doofinder\WP\Helpers\Template_Engine::__construct()
S
81 1 3
Doofinder\WP\Thumbnail::__construct()
S
77 1 4
Doofinder\WP\Update_Manager::update_failed()
S
71 1 5
Doofinder\WP\Multilanguage\No_Language_Plugin::get_current_language()
S
82 1 3
Doofinder\WP\Post::get_tags()
S
69 1 8
Doofinder\WP\Api\Update_On_Save_Api::updateBulk()
S
71 1 5
Doofinder\WP\Doofinder_For_WordPress::register_urls()
S
81 1 3
Doofinder\WP\Multilanguage::is_active()
S
80 1 3
Doofinder\WP\Update_Manager::remove_admin_notice()
S
79 1 3
Doofinder\WP\Migration::initialize_migration()
S
72 1 5
Doofinder\WP\Config::get_locale_language_code()
S
72 1 5
Doofinder\WP\Doofinder_For_WordPress::initialize_rest_endpoints()
S
70 1 7
Doofinder\WP\Reset_Credentials::launch_reset_credentials()
S
76 1 4
Doofinder\WP\Multilanguage\Language_Plugin::get_languages()
S
100 1 0
Doofinder\WP\Api\Store_Api::__construct()
S
67 1 8
Doofinder\WP\Post::get_post_date()
S
79 1 3
Doofinder\WP\Config::generate()
S
80 1 3
Doofinder\WP\Multilanguage\No_Language_Plugin::get_default_language()
S
82 1 3
Doofinder\WP\Setup_Wizard::remove_notice()
S
80 1 3
Doofinder\WP\Admin_Notices::add_custom_notice()
S
66 1 8
Doofinder\WP\Setup_Wizard::get_wizard_errors()
S
79 1 3
Doofinder\WP\Setup_Wizard::generateToken()
S
73 1 5
Doofinder\WP\Platform_Confirmation::register()
S
71 1 6
Doofinder\WP\Setup_Wizard::js_go_to_step()
S
74 1 7
Doofinder\WP\Multilanguage\No_Language_Plugin::get_formatted_languages()
S
82 1 3
Doofinder\WP\Doofinder_For_WordPress::plugin_path()
S
80 1 3
Doofinder\WP\Setup_Wizard::should_activate()
S
75 1 4
Doofinder\WP\Update_Manager::update_020003()
S
76 1 4
Doofinder\WP\Helpers\Template_Engine::render()
S
73 1 5
Doofinder\WP\Multilanguage\No_Language_Plugin::get_home_url()
S
80 1 3
Doofinder\WP\Setup_Wizard::process_step_3()
S
80 1 3
Doofinder\WP\Helpers::format_locale_to_hyphen()
S
78 1 3
Doofinder\WP\Doofinder_For_WordPress::plugin_url()
S
80 1 3
Doofinder\WP\Doofinder_For_WordPress::__clone()
S
78 1 3
Doofinder\WP\Setup_Wizard::admin_menus()
S
78 1 3
Doofinder\WP\Update_On_Save::deactivate_update_on_save_task()
S
80 1 3
Doofinder\WP\Update_On_Save::clean_updated_items()
S
63 1 9
Doofinder\WP\Api\Reset_Credentials_Api::resetCredentials()
S
69 1 6
Doofinder\WP\Index_Status_Handler::initialize()
S
64 1 9
Doofinder\WP\Multilanguage\WPML::get_default_language()
S
75 1 4
Doofinder\WP\Doofinder_For_WordPress::__wakeup()
S
78 1 3
Doofinder\WP\Multilanguage\Language_Plugin::get_formatted_languages()
S
100 1 0
Doofinder\WP\Multilanguage\Polylang::get_default_language()
S
80 1 3
Doofinder\WP\Doofinder_For_WordPress::plugin_disabled()
S
72 1 6
Doofinder\WP\Api\Reset_Credentials_Api::buildURL()
S
79 1 3
Doofinder\WP\Update_On_Save::init()
S
66 1 8
Doofinder\WP\Multilanguage\Language_Plugin::get_home_url()
S
100 1 0
Doofinder\WP\Multilanguage\WPML::get_locale_by_lang_code()
S
80 1 3
Doofinder\WP\REST_API_Handler::get_df_sale_price()
S
78 1 3
Doofinder\WP\Migration::migrate_custom_attributes()
S
68 1 7
Doofinder\WP\Update_On_Save::delete_update_on_save_db()
S
68 1 7
Doofinder\WP\Reset_Credentials_Index::__construct()
S
73 1 5
Doofinder\WP\Config::register()
S
65 1 9
Doofinder\WP\Update_Manager::add_admin_notice()
S
67 1 6
Doofinder\WP\Multilanguage\Language_Plugin::get_current_language()
S
100 1 0
Doofinder\WP\REST_API_Handler::get_df_regular_price()
S
78 1 3
Doofinder\WP\Reset_Credentials::init()
S
66 1 8
Doofinder\WP\Admin_Notices::get_custom_notices()
S
79 1 3
Doofinder\WP\Admin_Notices::is_notice_active()
S
75 1 4
Doofinder\WP\Admin_Notices::render_custom_notice()
S
81 1 3
Doofinder\WP\Multilanguage\WPML::get_base_locale()
S
73 1 5
Doofinder\WP\Helpers\Helpers::format_locale_to_underscore()
S
78 1 3
Doofinder\WP\Multilanguage\No_Language_Plugin::get_base_locale()
S
81 1 3
Doofinder\WP\Multilanguage\WPML::get_languages()
S
82 1 3
Doofinder\WP\Multilanguage\No_Language_Plugin::get_active_language()
S
82 1 3
Doofinder\WP\Thumbnail::get_size()
S
80 1 3
Doofinder\WP\Setup_Wizard::dismiss_indexing_notice()
S
75 1 4
Doofinder\WP\Setup_Wizard::saveToken()
S
80 1 3
Doofinder\WP\Multilanguage\No_Language_Plugin::get_base_language()
S
82 1 3
Doofinder\WP\Update_On_Save_Index::__construct()
S
70 1 6
Doofinder\WP\Post::get_content()
S
67 1 7
Doofinder\WP\Helpers::get_language_from_locale()
S
74 1 4
Doofinder\WP\Setup_Wizard::getReturnPath()
S
75 1 4
Doofinder\WP\Platform_Confirmation::__construct()
S
73 1 5
Doofinder\WP\JS_Layer::insert_js_layer()
S
75 1 5
Doofinder\WP\Helpers\Helpers::format_locale_to_hyphen()
S
78 1 3
Doofinder\WP\Setup_Wizard::dismiss_notice()
S
79 1 3
Doofinder\WP\Setup_Wizard::getToken()
S
80 1 3
Doofinder\WP\Helpers\Helpers::get_language_from_locale()
S
74 1 4
Doofinder\WP\Helpers::format_locale_to_underscore()
S
78 1 3
Doofinder\WP\Setup_Wizard::set_wizard_errors()
S
79 1 3
Doofinder\WP\Api\Store_Api::has_application_credentials()
S
79 1 3
Doofinder\WP\Multilanguage\Polylang::get_base_language()
S
80 1 3
Doofinder\WP\Multilanguage\Language_Plugin::get_default_language()
S
100 1 0
Doofinder\WP\Update_Manager::format_normalized_plugin_version()
S
68 1 7
Doofinder\WP\Api\Update_On_Save_Api::buildURL()
S
79 1 3
Doofinder\WP\Multilanguage\No_Language_Plugin::get_languages()
S
82 1 3
Doofinder\WP\Helpers\Template_Engine::insert()
S
80 1 3
Doofinder\WP\Setup_Wizard::is_active()
S
79 1 3
Doofinder\WP\Add_To_Cart::__construct()
S
68 1 7
Doofinder\WP\Post::get_thumbnail()
S
76 1 4
Doofinder\WP\Setup_Wizard::render_wizard_step()
S
80 1 3
Doofinder\WP\Reset_Credentials_Index::reset_credentials()
S
77 1 4
Doofinder\WP\REST_API_Handler::get_df_price()
S
79 1 3
Doofinder\WP\Setup_Wizard::deactivate()
S
70 1 6
Doofinder\WP\Setup_Wizard::connect()
S
73 1 5
Doofinder\WP\Update_On_Save::launch_update_on_save_task()
S
76 1 4
Doofinder\WP\Update_On_Save_Index::launch_doofinder_update_on_save()
S
70 1 6
Doofinder\WP\Update_Manager::update_020002()
S
81 1 3
Doofinder\WP\Multilanguage\WPML::get_base_language()
S
73 1 5
Doofinder\WP\Update_On_Save::clean_update_on_save_db()
S
68 1 7
Doofinder\WP\Multilanguage\Language_Plugin::get_active_language()
S
100 1 0
Doofinder\WP\Setup_Wizard::dissmiss_notice()
S
79 1 3
Doofinder\WP\Post::sanitize_html_entities()
S
78 1 3
Doofinder\WP\Update_Manager::update_020013()
S
77 1 4
Doofinder\WP\Multilanguage\Language_Plugin::get_base_language()
S
100 1 0
Doofinder\WP\Api\Update_On_Save_Api::deleteBulk()
S
71 1 5