MxChat_Admin D

Total Complexity 716
Dependencies 3
Dependents 1
Total lines 6,670
Lines of code 5,443
Logical lines of code 2,120
Comment lines 495
Methods 120
Properties 4

Methods 120

Method Rating Maintainability Complexity Lines of code
mxchat_create_prompts_page()
D
0
87 984
mxchat_sanitize()
D
9
104 306
mxchat_actions_page_html()
D
14
41 406
mxchat_get_available_callbacks()
D
20
34 265
mxchat_fetch_chat_history()
D
24
27 197
mxchat_generate_embedding()
C
30 28 116
mxchat_page_init()
C
19
1 443
mxchat_handle_add_intent()
B
37 17 70
mxchat_handle_delete_prompt()
B
37 17 69
mxchat_handle_edit_intent()
B
37 15 72
mxchat_create_admin_page()
B
27
2 262
mxchat_loops_mailing_list_callback()
A
47 12 33
mxchat_handle_delete_all_prompts()
A
43 10 46
mxchat_rate_limits_callback()
A
38 8 72
mxchat_create_transcripts_page()
A
33 1 170
sanitize_prompts_options()
A
46 8 38
mxchat_create_activation_page()
A
44 6 55
localize_page_specific_scripts()
A
37 4 77
initialize_default_options()
S
36 3 89
mxchat_custom_icon_callback()
S
48 6 32
mxchat_title_icon_callback()
S
48 6 32
display_admin_notices()
S
54 6 22
mxchat_additional_popular_questions_callback()
S
45 4 50
mxchat_model_callback()
S
43 4 48
mxchat_calculate_cosine_similarity()
S
56 6 18
mxchat_delete_chat_history()
S
48 5 32
mxchat_enqueue_admin_assets()
S
58 6 14
export_chat_transcripts()
S
45 4 43
mxchat_icon_color_callback()
S
52 5 24
mxchat_chatbot_background_color_callback()
S
52 5 24
mxchat_send_button_font_color_callback()
S
52 5 24
mxchat_top_bar_bg_color_callback()
S
52 5 24
mxchat_chat_input_font_color_callback()
S
52 5 24
mxchat_toolbar_icon_color_callback()
S
52 5 24
mxchat_mode_indicator_font_color_callback()
S
52 5 24
mxchat_mode_indicator_bg_color_callback()
S
52 5 24
mxchat_live_agent_message_font_color_callback()
S
52 5 24
mxchat_live_agent_message_bg_color_callback()
S
52 5 24
mxchat_bot_message_font_color_callback()
S
52 5 24
mxchat_user_message_font_color_callback()
S
52 5 24
mxchat_bot_message_bg_color_callback()
S
52 5 24
enqueue_page_specific_assets()
S
55 5 19
render_sample_instructions_modal()
S
44 2 57
embedding_model_callback()
S
51 4 26
mxchat_privacy_toggle_callback()
S
54 4 21
sanitize_transcripts_options()
S
57 4 17
mxchat_fetch_loops_mailing_lists()
S
58 4 15
mxchat_average_vectors()
S
59 4 14
sync_settings_notice()
S
62 4 12
mxchat_add_plugin_page()
S
46 1 51
mxchat_display_admin_notice()
S
57 3 20
__construct()
S
49 2 30
mxchat_live_agent_status_callback()
S
58 3 14
mxchat_append_to_body_callback()
S
59 3 14
mxchat_handle_delete_intent()
S
58 3 14
mxchat_link_target_toggle_callback()
S
59 3 13
mxchat_chat_persistence_toggle_callback()
S
59 3 13
mxchat_similarity_threshold_callback()
S
52 2 28
mxchat_complianz_toggle_callback()
S
59 3 13
enable_email_block_callback()
S
59 3 13
mxchat_show_pdf_upload_button_callback()
S
60 3 12
mxchat_show_word_upload_button_callback()
S
60 3 12
mxchat_chat_toolbar_toggle_callback()
S
60 3 12
get_trimmed_phrases()
S
62 3 11
localize_admin_scripts()
S
54 2 21
show_live_agent_disabled_banner()
S
60 2 21
mxchat_transcripts_page_init()
S
50 1 35
mxchat_brave_safe_search_callback()
S
55 2 20
system_prompt_instructions_callback()
S
56 2 18
email_blocker_header_content_callback()
S
58 2 16
mxchat_enable_notifications_callback()
S
60 2 15
mxchat_append_chatbot_to_body()
S
69 3 6
mxchat_pdf_max_pages_callback()
S
59 2 15
mxchat_pdf_intent_error_text_callback()
S
59 2 15
mxchat_add_option_field()
S
63 3 10
mxchat_pdf_intent_success_text_callback()
S
59 2 15
mxchat_pdf_intent_trigger_text_callback()
S
59 2 15
mxchat_loops_api_key_callback()
S
60 2 13
handle_embedding_error()
S
61 2 13
mxchat_notification_email_callback()
S
61 2 13
mxchat_brave_language_callback()
S
63 2 11
mxchat_intro_message_callback()
S
63 2 11
mxchat_input_copy_callback()
S
62 2 11
mxchat_brave_api_key_callback()
S
61 2 11
mxchat_brave_image_count_callback()
S
63 2 11
mxchat_triggered_phrase_response_callback()
S
62 2 11
mxchat_brave_news_count_callback()
S
63 2 11
mxchat_brave_country_callback()
S
63 2 11
mxchat_email_capture_response_callback()
S
62 2 11
mxchat_live_agent_webhook_url_callback()
S
62 2 11
mxchat_prompts_page_init()
S
55 1 21
register_pinecone_settings()
S
59 1 17
mxchat_live_agent_secret_key_callback()
S
65 2 8
add_live_agent_nonce()
S
66 2 8
dismiss_live_agent_notice()
S
68 2 7
mxchat_live_agent_bot_token_callback()
S
65 2 8
mxchat_live_agent_user_ids_callback()
S
63 2 10
sanitize_pinecone_settings()
S
62 2 10
gemini_api_key_callback()
S
65 2 8
mxchat_live_agent_notification_message_callback()
S
63 2 10
is_license_active()
S
74 2 4
deepseek_api_key_callback()
S
65 2 8
mxchat_pre_chat_message_callback()
S
63 2 10
claude_api_key_callback()
S
65 2 8
mxchat_top_bar_title_callback()
S
70 2 5
mxchat_ai_agent_text_callback()
S
70 2 5
email_blocker_button_text_callback()
S
63 2 10
xai_api_key_callback()
S
65 2 8
api_key_callback()
S
65 2 8
mxchat_live_agent_away_message_callback()
S
63 2 10
sanitize_sync_setting()
S
77 2 3
mxchat_add_enabled_column_to_intents()
S
66 2 8
mxchat_popular_question_1_callback()
S
63 2 10
voyage_api_key_callback()
S
65 2 8
mxchat_popular_question_3_callback()
S
63 2 10
mxchat_popular_question_2_callback()
S
63 2 10
enqueue_core_admin_assets()
S
71 1 5
mxchat_create_addons_page()
S
73 1 5
mxchat_transcripts_notification_section_callback()
S
78 1 3
mxchat_pdf_intent_section_callback()
S
78 1 3