Code Analysis: AI ChatBot for WordPress – WPBot 5.9.6

Function Rating Maintainability Complexity Lines of code
qcld_wb_chatboot_defualt_options()
D
0
205 649
qcld_wb_Chatbot::qcld_wb_chatbot_save_options()
D
0
87 638
qcld_recommend_support_function_ajax()
D
11
52 454
qcld_wb_Chatbot::qcld_wb_chatbot_frontend_scripts()
D
16
26 306
wp_chatbot_load_footer_html()
D
26
28 172
qc_wp_latest_update_check()
D
29
31 119
wpbo_search_site()
D
30 31 101
qc_wpbo_search_response()
C
33 29 88
wpwBot_Search::query_index_table()
C
30 25 113
Parsedown::linesElements()
C
33 24 104
qcld_wb_chatbot_load_more()
C
29 22 129
qcld_wpopenai_addons::openai_response_callback()
C
29 22 125
wpbot_help_page_callback_func()
C
19
1 432
wp_chatbot_load_controlling()
B
43 22 44
Parsedown::element()
B
39 19 65
Parsedown::blockTable()
B
35 17 90
qcld_wb_chatbot_keyword()
B
35 17 80
wp_chatbot_shortcode_dom()
B
36 16 84
Parsedown::blockListContinue()
B
39 17 64
qcld_wpopenai_addons::openai_settings_option_callback()
B
37 15 73
qcld_wb_chatbot_product_details()
A
34 13 85
qcld_wb_Chatbot::qcld_wb_chatbot_init()
A
54 16 16
Parsedown::blockList()
A
40 13 57
Wp_Usage_Feedback::goodbye_ajax()
A
34 7 146
qcld_wb_chatboot_delete_all_options()
A
25
2 219
qcld_wb_chatbot_recently_viewed_shortcode()
A
38 12 63
qcld_wb_chatbot_recently_viewed_products()
A
38 12 63
Parsedown::lineElements()
A
41 12 58
wpwBot_Table::reindex_table()
A
39 11 68
qcld_wpbot_free_process_qc_promo_form()
A
40 12 52
qcld_wb_Chatbot::qcld_wpchatbot_init2_fnc()
A
47 13 32
qcld_wp_df_api_call()
A
42 11 49
Qcld_wpbot_dfv2::api()
A
43 11 44
qcld_wb_chatbot_category_products()
A
38 9 70
qcld_wb_chatbot_sale_products()
A
38 8 77
qcld_wb_Chatbot::qcld_wb_chatbot_admin_scripts()
A
42 10 47
Wpbot_rating::qc_admin_notice_rating()
A
51 11 26
Response_list::column_default()
A
52 11 26
wpwBot_Table::extract_terms()
A
42 9 52
wp_chatbot_mobile_app_short_code()
A
44 9 48
Parsedown::inlineMarkup()
A
50 10 27
qcld_openaiaddon_License_Settings_page::qcld_callback_quantum_license_key()
A
45 9 41
wp_chatbot_create_app_checkout_thankyou_page()
A
43 8 51
qcld_wb_chatbot_featured_products()
A
42 8 49
Wpbot_rating::is_wpbot_page()
A
65 11 7
Parsedown::inlineLink()
A
42 7 60
qc_dynamic_intent()
A
51 9 25
qcld_wb_chatbot_show_cart()
A
41 7 51
qcld_wpopenai_addons::qcld_include_keyword_exist()
A
55 9 19
qcld_wb_chatbot_cart_shortcode()
A
42 7 48
qcld_wb_chatbot_support_email()
A
43 7 43
qcld_openaiaddon_License_Settings_page::qcld_callback_envato_license_key()
A
45 7 40
Parsedown::blockTableContinue()
A
46 7 40
get_order_by_username()
A
40 6 55
Response_list::process_bulk_action()
A
53 8 21
Parsedown::sanitiseElement()
A
50 7 31
WPBotGCDownload::downloadgc()
S
45 6 40
QCLD_openaiaddon_AutoUpdate::check_update()
S
47 6 36
WPBotGCDownload::create_file()
S
55 7 20
qcld_wb_Chatbot::qcld_wb_chatbot_str_replace()
S
44 5 50
Parsedown::elements()
S
55 7 19
wp_chatbot_check_opening_hours()
S
55 7 19
qcld_wpopenai_addons::include_exclude_prompt()
S
58 7 14
qcld_openaiaddon__invalid_license_notice()
S
59 7 12
Parsedown::blockSetextHeader()
S
60 7 11
Parsedown::inlineUrl()
S
52 6 23
qcld_wb_chatbot_support_phone()
S
45 5 37
qcld_wpopenai_addons::openai_retrive_fine_tune()
S
40 3 63
qcld_wpopenai_addons::define_constants()
S
59 6 17
qcld_wb_Chatbot::qcld_wb_chatbot_agent_icon()
S
58 6 17
wpwBot_Cache::get_from_cache_table()
S
57 6 16
wpwBot_Search::get_posts_ids()
S
58 6 15
qcld_wb_Chatbot::qcld_wb_chatbot_dynamic_multi_option()
S
48 4 45
Parsedown::inlineEmphasis()
S
50 5 30
Parsedown::handle()
S
51 5 29
qcld_wpopenai_addons::__construct()
S
60 6 11
qcld_openaiaddon_upgrade_completed()
S
62 6 11
Parsedown::blockHeader()
S
53 5 24
qcld_wb_Chatbot::wpcommerce_inactive_notice_for_wp_chatbot()
S
49 4 39
wpwBot_Table::insert_into_table()
S
52 5 24
Parsedown::blockMarkup()
S
54 5 22
qcld_wb_Chatbot::qc_get_formbuilder_form_commands()
S
54 5 21
Parsedown::blockCode()
S
55 5 20
Parsedown::blockComment()
S
55 5 20
Parsedown::blockFencedCodeContinue()
S
54 5 20
wpwBot_Search::get_products()
S
55 5 19
qcld_wpopenai_addons::openai_finetune_create()
S
48 4 33
qcld_wb_chatbot_category()
S
55 5 17
Parsedown::blockFencedCode()
S
50 4 31
Parsedown::blockQuoteContinue()
S
58 5 16
wpbot_free_qc_upgrade_completed()
S
62 6 10
wp_chatbot_view_track_product_by_id()
S
58 5 15
Wp_Usage_Feedback::deactivate_this_plugin()
S
58 5 15
qcld_wpopenai_addons::qcld_sanitize_text_or_array_field()
S
59 5 15
qcld_wb_chatbot__redirect_after_purchase()
S
58 5 14
openaiaddon__licensing_notice_dismiss_func()
S
61 5 13
Parsedown::inlineImage()
S
52 4 26
qcld_wb_chatbot_only_cart()
S
45 3 39
Parsedown::inlineEmailTag()
S
52 4 24
qcld_wb_chatbot_variable_add_to_cart()
S
54 4 21
Parsedown::inlineStrikethrough()
S
55 4 20
wp_chatbot_page_dom()
S
56 4 19
qcld_wpopenai_addons::buildFormBody()
S
55 4 19
Wp_Usage_Feedback::send_data()
S
55 4 19
qcld_wb_Chatbot::qc_get_formbuilder_forms()
S
56 4 18
qcld_wb_Chatbot::qc_get_formbuilder_form_ids()
S
56 4 18
wpbo_search_response_catlist()
S
56 4 17
Wp_Usage_Feedback::get_data()
S
57 4 17
Parsedown::blockReference()
S
57 4 16
qc_wpbotfree_activation_redirect()
S
65 5 8
Parsedown::li()
S
63 5 10
QCLD_openaiaddon_AutoUpdate::check_info()
S
67 5 7
Wpbot_rating::review_dismissal()
S
63 5 9
Wpbot_rating::review_prending()
S
63 5 9
qcld_wpbot_free_include_promo_page_scripts()
S
58 4 14
wpwBot_Table::get_terms_list()
S
60 4 14
wpwBot_Table::get_terms_names_list()
S
60 4 14
Parsedown::extractElement()
S
61 4 14
Parsedown::blockListComplete()
S
61 4 13
qc_mysql_remove_existing_indexes()
S
60 4 12
QcPluginUpgradeToProNotice::func_qc_external_upgrade_link()
S
60 4 12
wpwBot_Search::search()
S
50 3 27
sanitize_array()
S
63 4 11
Parsedown::inlineSpecialCharacter()
S
61 4 11
qcld_wpopenai_addons::openai_troubleshooting()
S
51 3 24
wpwBot_Table::variable_product_changed()
S
53 3 23
wpwBot_Table::update_table()
S
54 3 21
WPBotGCDownload::extractgc()
S
54 3 20
qcld_wpopenai_addons::relevant_pagelink()
S
53 3 20
wpwBot_Table::get_number_of_products()
S
55 3 20
Wpbot_rating::qc_rating_notice_message()
S
49 2 34
Parsedown::pregReplaceElements()
S
57 3 17
QCLD_openaiaddon_AutoUpdate::getRemote()
S
57 3 16
Parsedown::inlineUrlTag()
S
58 3 16
wp_chatbot_product_controlling()
S
64 4 9
qcld_wb_Chatbot::qcld_wpchatbot_init_fnc()
S
70 4 5
qcld_wb_chatbot_session_count()
S
51 2 29
Parsedown::blockCodeContinue()
S
59 3 14
wpwBot_Table::__construct()
S
58 3 14
qc_wpbo_search_responseby_intent()
S
59 3 13
Response_list::get_responses()
S
58 3 13
Parsedown::elementApplyRecursiveDepthFirst()
S
62 3 12
qcld_wb_Chatbot::qc_wpbot_simple_response_intent()
S
61 3 12
qc_wpbot_simple_response_intent()
S
61 3 12
Parsedown::elementApplyRecursive()
S
62 3 12
Parsedown::blockCommentContinue()
S
61 3 12
Parsedown::blockRule()
S
61 3 12
wpwBot_Cache::insert_into_cache_table()
S
62 3 12
QcPluginUpgradeToProNotice::hook_with_plugin_action_links()
S
62 3 11
Parsedown::filterUnsafeUrlInAttribute()
S
62 3 11
qcld_wp_OpenAI::gptcomplete()
S
51 2 26
qcld_wpopenai_addons::response_form_file()
S
52 2 24
wpwBot_Table::get_special_chars()
S
49 1 36
Response_list::get_columns()
S
55 2 21
wpwBot_Search::get_special_chars()
S
49 1 36
small_talk_import()
S
54 2 20
qcld_wb_chatbot_login_user()
S
56 2 17
qcpromo_wpbot_free_support_page_callback_func()
S
53 1 31
qcld_wb_chatbot_checkout_page()
S
57 2 16
Response_list::prepare_items()
S
58 2 16
Parsedown::blockQuote()
S
58 2 16
Parsedown::inlineCode()
S
58 2 15
QCLD_openaiaddon_AutoUpdate::__construct()
S
57 2 15
qcld_wpbot_is_active_chat_history()
S
69 3 7
wpwBot_Cache::get_cache_name()
S
64 3 10
Parsedown::inlineText()
S
59 2 15
Parsedown::inlineEscapeSequence()
S
65 3 9
Wp_Usage_Feedback::filter_action_links()
S
65 3 8
QcPluginUpgradeToProNotice::check_if_plugin_page()
S
68 3 8
wpwBot_Table::term_changed()
S
76 3 4
general_admin_notice_str()
S
69 3 7
QcPluginUpgradeToProNotice::hook_with_plugin_meta_links()
S
64 3 10
QcPluginUpgradeToProNotice::hook_with_plugin_submenu()
S
65 3 9
wp_chatbot_is_mobile()
S
66 3 8
Parsedown::blockMarkupContinue()
S
66 3 8
qc_strpro_remove_stopwords()
S
65 3 8
QcPluginUpgradeToProNotice::qc_upgrade_to_pro_heading_part()
S
67 2 15
qcld_openaiaddon_license_enter_notice()
S
63 3 9
qcld_wb_Chatbot::screen_option()
S
59 2 14
QCLD_openaiaddon_AutoUpdate::show_upgrade_subscription_on_plugin_row()
S
64 2 12
qcld_openaiaddon_activate_au()
S
62 2 11
Parsedown::striAtStart()
S
63 2 11
QcPluginUpgradeToProNotice::func_show_upgrade_link_with_meta_links()
S
61 2 11
qcld_wb_chatbot_cart_page()
S
62 2 11
qcld_wb_chatbot_add_to_cart()
S
62 2 11
Wpbot_rating::admin_notice()
S
59 1 20
qcld_wp_OpenAI::complete()
S
55 1 20
wpwBot_Table::html2txt()
S
57 1 19
qcld_wp_OpenAI::get_response()
S
56 1 18
wpwBot_Table::create_table()
S
60 1 16
qc_style_for_hide_iframe()
S
100 1 16
qcld_wb_chatbot_func_str_replace()
S
67 2 8
qcld_wb_chatbot_sub_category()
S
63 2 9
wp_chatbot_load_app_checkout_template()
S
71 2 6
qcld_wpopenai_addons::instance()
S
72 2 6
qcld_wb_Chatbot::qcld_wb_chatbot_get_instance()
S
70 2 7
wp_chatbot_load_app_template()
S
71 2 6
Wp_Usage_Feedback::plugin_data()
S
68 2 7
Parsedown::elementsApplyRecursive()
S
69 2 7
wpwBot_Cache::factory()
S
68 2 8
wpwBot_Table::cancel_reindex()
S
62 2 10
QcPluginUpgradeToProNotice::func_show_upgrade_link_with_action_links()
S
58 1 15
wpwBot_Search::factory()
S
69 2 7
Wp_Usage_Feedback::goodbye_form_callback()
S
64 2 9
Parsedown::elementsApplyRecursiveDepthFirst()
S
69 2 7
wp_chatbot_track_product_view()
S
70 2 7
wp_chatbot_load_app_order_thankyou_template()
S
71 2 6
Parsedown::paragraphContinue()
S
66 2 8
Parsedown::instance()
S
66 2 9
Parsedown::escape()
S
77 2 3
qcld_wb_Chatbot::promotion_notice()
S
64 1 14
Wp_Usage_Feedback::form_default_text()
S
60 1 14
Parsedown::paragraph()
S
61 1 13
OpenAi_WPBot_Menus::screen_option()
S
62 1 12
Parsedown::blockCodeComplete()
S
82 1 3
Response_list::column_cb()
S
74 1 5
Wp_Usage_Feedback::__construct()
S
65 1 9
delete_openaiaddon_invalid_license()
S
81 1 3
get_openaiaddon_enter_license_notice_dismiss_transient()
S
81 1 3
Parsedown::line()
S
79 1 3
Parsedown::setMarkupEscaped()
S
77 1 4
qcld_wp_OpenAI::setDefaultEngine()
S
81 1 3
qcld_choose_random()
S
80 1 3
Qcld_wpbot_dfv2::__construct()
S
79 1 3
OpenAi_WPBot_Menus::qcld_wb_chatbot_openai_file()
S
76 1 4
get_openaiaddon_invalid_license()
S
81 1 3
qcld_wpopenai_addons::qcld_wb_chatbot_admin_scripts()
S
91 1 2
Parsedown::text()
S
70 1 6
wpwBot_Table::is_table_not_exist()
S
75 1 4
set_openaiaddon_enter_license_notice_dismiss_transient()
S
79 1 3
OpenAi_WPBot_Menus::qcld_wb_chatbot_admin_page_help()
S
76 1 4
Response_list::get_bulk_actions()
S
72 1 6
Parsedown::textElements()
S
68 1 7
Parsedown::isBlockContinuable()
S
78 1 3
Parsedown::setSafeMode()
S
77 1 4
Response_list::column_query()
S
62 1 10
get_openaiaddon_site_type()
S
81 1 3
Response_list::record_count()
S
72 1 5
qcld_wb_Chatbot::qcld_wb_chatbot_admin_page()
S
73 1 5
wpwBot_Cache::create_cache_table()
S
64 1 10
get_openaiaddon_license_purchase_code()
S
81 1 3
qcld_openaiaddon_License_Settings_page::register_license_key_settings()
S
67 1 7
Parsedown::handleElementRecursive()
S
79 1 3
WPBotGCDownload::__construct()
S
70 1 6
Wp_Usage_Feedback::form_filterable_text()
S
74 1 4
qcld_wb_Chatbot::mysql_version_notice()
S
71 1 5
get_openaiaddon_licensing_plugin_data()
S
75 1 4
qcld_wb_chatboot_plugin_init()
S
77 1 4
Wp_Usage_Feedback::set_content_type()
S
83 1 3
Wpbot_rating::qc_load_rating_style()
S
64 1 9
set_openaiaddon_invalid_license_notice_dismiss_transient()
S
79 1 3
get_openaiaddon_invalid_license_notice_dismiss_transient()
S
81 1 3
wpwBot_Cache::__construct()
S
98 1 1
qcld_wpopenai_addons::get_prompt()
S
72 1 5
wpwBot_Cache::is_cache_table_not_exist()
S
75 1 4
qcld_openaiaddon_License_Settings_page::__construct()
S
79 1 3
qcld_openais()
S
77 1 4
Parsedown::lines()
S
80 1 3
delete_openaiaddon_update_transient()
S
81 1 3
get_openaiaddon_renew_transient()
S
81 1 3
Wpbot_rating::__construct()
S
80 1 3
qcld_wb_chatbot_loged_in_user_orders()
S
71 1 6
set_openaiaddon_invalid_license()
S
80 1 3
qcld_wb_chatbot_update_cart_item_number()
S
68 1 7
Parsedown::setBreaksEnabled()
S
77 1 4
set_openaiaddon_update_transient()
S
78 1 3
Parsedown::setStrictMode()
S
77 1 4
wpwBot_Search::get_load_more_products()
S
80 1 3
Parsedown::unmarkedText()
S
75 1 4
WPBotGCDownload::create_folder()
S
78 1 3
Parsedown::handleElementsRecursive()
S
79 1 3
qcld_wpopenai_addons::includes()
S
73 1 5
set_openaiaddon_renew_transient()
S
78 1 3
OpenAi_WPBot_Menus::chatbot_menu()
S
80 1 3
qcld_wb_Chatbot::admin_notice_reindex()
S
71 1 5
wpwBot_Search::__construct()
S
98 1 1
Parsedown::blockFencedCodeComplete()
S
82 1 3
Response_list::no_items()
S
80 1 3
qcld_wb_Chatbot::qcld_wb_chatbot_admin_page_settings()
S
73 1 5
get_openaiaddon_licensing_buy_from()
S
81 1 3
Response_list::delete_response()
S
67 1 8
wpwBot_Table::strip_shortcodes()
S
75 1 4
Wpbot_rating::blackfriday_notice_dismiss()
S
76 1 4
wp_chatbot_page_short_code()
S
72 1 6
delete_openaiaddon_valid_license()
S
81 1 3
qcld_wb_chatbot_cart_item_remove()
S
70 1 6
get_openaiaddon_licensing_key()
S
81 1 3
get_openaiaddon_envato_key()
S
81 1 3
OpenAi_WPBot_Menus::qcld_wb_chatbot_admin_page()
S
76 1 4
OpenAi_WPBot_Menus::__construct()
S
100 1 2
wp_chatbot_short_code()
S
72 1 6
Response_list::__construct()
S
66 1 8
qc_wpbot_input_validation()
S
70 1 7
get_openaiaddon_valid_license()
S
81 1 3
wpwBot_Table::fill_table()
S
91 1 2
set_openaiaddon_valid_license()
S
80 1 3
Parsedown::isBlockCompletable()
S
78 1 3
Wpbot_rating::notice_dismiss()
S
76 1 4
qcld_wb_Chatbot::qcld_wb_chatbot_admin_str()
S
81 1 3
qcld_wpopenai_addons::qcpd_remove_wa_stopwords()
S
77 1 3
wp_chatbot_lang_init()
S
78 1 3
Response_list::get_sortable_columns()
S
71 1 6
qcld_wb_Chatbot::qcld_wb_chatbot_admin_menu()
S
62 1 9
Wpbot_rating::run()
S
72 1 5
wpbot_openAi_setting_func()
S
80 1 3
openaiaddon__get_licensing_url()
S
81 1 3
QcPluginUpgradeToProNotice::__construct()
S
79 1 3
get_openaiaddon_update_transient()
S
81 1 3
Parsedown::parse()
S
77 1 4
wpb_randmom_message_handle()
S
78 1 3
wpwBot_Cache::setup()
S
76 1 4
Parsedown::setUrlsLinked()
S
77 1 4
Wp_Usage_Feedback::init()
S
71 1 5
qcld_openaiaddon_licensing_scripts()
S
64 1 9
qcld_wb_Chatbot::__construct()
S
80 1 3
delete_openaiaddon_renew_transient()
S
81 1 3