MxChat_Admin D

Total Complexity 604
Dependencies 6
Dependents 0
Total lines 4,616
Lines of code 3,659
Logical lines of code 1,541
Comment lines 264
Methods 107
Properties 3

Methods 107

Method Rating Maintainability Complexity Lines of code
mxchat_sanitize()
D
14
86 238
mxchat_create_prompts_page()
D
21
28 259
mxchat_page_init()
C
17
1 515
mxchat_intents_page_html()
C
25
20 204
mxchat_handle_sitemap_submission()
B
32 18 121
mxchat_handle_add_intent()
B
40 16 54
process_pdf_pages_cron()
A
37 13 69
handle_edit_intent()
A
40 13 58
process_sitemap_urls_cron()
A
40 12 58
mxchat_create_admin_page()
A
35 2 202
mxchat_fetch_chat_history()
A
37 10 78
handle_pdf_for_knowledge_base()
A
41 10 55
mxchat_model_callback()
A
47 10 32
mxchat_handle_content_submission()
A
44 9 42
mxchat_handle_activate_license()
A
50 10 26
mxchat_save_inline_prompt()
A
46 9 38
handle_sitemap_for_knowledge_base()
A
45 8 43
mxchat_enqueue_admin_assets()
A
36 5 87
mxchat_additional_popular_questions_callback()
A
46 7 42
mxchat_create_activation_page()
S
49 6 38
mxchat_handle_delete_prompt()
S
53 7 19
mxchat_get_available_callbacks()
S
40 3 76
mxchat_live_agent_status_callback()
S
52 6 23
mxchat_chat_toolbar_toggle_callback()
S
53 6 21
mxchat_chat_persistence_toggle_callback()
S
53 6 21
mxchat_complianz_toggle_callback()
S
53 6 21
mxchat_enable_woocommerce_integration_callback()
S
54 6 19
mxchat_loops_mailing_list_callback()
S
55 6 18
mxchat_calculate_cosine_similarity()
S
56 6 18
mxchat_stop_processing()
S
52 5 26
mxchat_extract_main_content()
S
52 5 25
mxchat_delete_chat_history()
S
53 5 22
mxchat_live_agent_webhook_url_callback()
S
54 5 21
mxchat_live_agent_notification_message_callback()
S
54 5 20
mxchat_live_agent_away_message_callback()
S
54 5 20
mxchat_pdf_max_pages_callback()
S
55 5 19
mxchat_live_agent_bot_token_callback()
S
56 5 18
mxchat_live_agent_secret_key_callback()
S
56 5 18
mxchat_popular_question_2_callback()
S
56 5 17
mxchat_popular_question_3_callback()
S
56 5 17
mxchat_pdf_intent_trigger_text_callback()
S
56 5 17
mxchat_pdf_intent_success_text_callback()
S
56 5 17
mxchat_pdf_intent_error_text_callback()
S
56 5 17
mxchat_woocommerce_consumer_secret_callback()
S
56 5 17
claude_api_key_callback()
S
56 5 17
xai_api_key_callback()
S
56 5 17
mxchat_woocommerce_consumer_key_callback()
S
57 5 16
initialize_default_options()
S
41 2 61
mxchat_handle_delete_all_prompts()
S
55 4 18
mxchat_privacy_toggle_callback()
S
57 4 17
mxchat_title_icon_callback()
S
57 4 17
mxchat_custom_icon_callback()
S
57 4 17
mxchat_chatbot_background_color_callback()
S
58 4 15
mxchat_fetch_loops_mailing_lists()
S
58 4 15
mxchat_chat_input_font_color_callback()
S
58 4 15
mxchat_icon_color_callback()
S
58 4 15
mxchat_mode_indicator_bg_color_callback()
S
58 4 15
mxchat_send_button_font_color_callback()
S
58 4 15
mxchat_bot_message_font_color_callback()
S
58 4 15
mxchat_chatbot_bg_color_callback()
S
58 4 15
mxchat_user_message_bg_color_callback()
S
58 4 15
mxchat_user_message_font_color_callback()
S
58 4 15
mxchat_bot_message_bg_color_callback()
S
58 4 15
mxchat_close_button_color_callback()
S
58 4 15
mxchat_top_bar_bg_color_callback()
S
58 4 15
mxchat_live_agent_message_bg_color_callback()
S
58 4 15
mxchat_live_agent_message_font_color_callback()
S
58 4 15
mxchat_mode_indicator_font_color_callback()
S
58 4 15
mxchat_toolbar_icon_color_callback()
S
58 4 15
mxchat_average_vectors()
S
59 4 14
mxchat_handle_update_intent_threshold()
S
53 3 22
mxchat_display_admin_notice()
S
58 3 20
get_sitemap_processing_status()
S
58 3 14
mxchat_handle_delete_intent()
S
58 3 14
get_pdf_processing_status()
S
58 3 14
__construct()
S
49 2 29
mxchat_add_plugin_page()
S
48 1 43
mxchat_rate_limit_logged_out_callback()
S
59 3 12
mxchat_rate_limit_logged_in_callback()
S
59 3 12
mxchat_append_to_body_callback()
S
62 3 11
mxchat_link_target_toggle_callback()
S
62 3 11
mxchat_generate_embedding()
S
55 2 19
mxchat_add_option_field()
S
64 3 10
mxchat_append_chatbot_to_body()
S
69 3 6
mxchat_brave_api_key_callback()
S
59 2 14
mxchat_brave_safe_search_callback()
S
62 2 11
mxchat_loops_api_key_callback()
S
63 2 11
mxchat_create_transcripts_page()
S
59 1 19
mxchat_brave_country_callback()
S
64 2 9
mxchat_popular_question_1_callback()
S
68 2 7
is_pdf_url()
S
70 2 5
mxchat_brave_image_count_callback()
S
64 2 9
mxchat_rate_limit_message_callback()
S
67 2 8
mxchat_brave_language_callback()
S
64 2 9
api_key_callback()
S
69 2 6
mxchat_triggered_phrase_response_callback()
S
71 2 5
mxchat_email_capture_response_callback()
S
71 2 5
mxchat_pre_chat_message_callback()
S
70 2 6
system_prompt_instructions_callback()
S
70 2 6
mxchat_intro_message_callback()
S
70 2 6
mxchat_input_copy_callback()
S
68 2 7
mxchat_brave_news_count_callback()
S
64 2 9
mxchat_top_bar_title_callback()
S
70 2 6
mxchat_similarity_threshold_callback()
S
63 1 13
is_license_active()
S
75 1 4
mxchat_sanitize_content_for_api()
S
64 1 9
mxchat_pdf_intent_section_callback()
S
78 1 3