MxChat_Admin D

Total Complexity 704
Dependencies 6
Dependents 0
Total lines 5,552
Lines of code 4,427
Logical lines of code 1,853
Comment lines 366
Methods 116
Properties 3

Methods 116

Method Rating Maintainability Complexity Lines of code
mxchat_sanitize()
D
13
91 255
mxchat_create_prompts_page()
D
19
28 316
mxchat_save_setting_callback()
D
34 35 78
mxchat_page_init()
D
16
1 543
mxchat_intents_page_html()
C
25
20 204
mxchat_handle_sitemap_submission()
B
32 18 121
mxchat_handle_add_intent()
B
40 16 54
mxchat_fetch_chat_history()
A
34 12 98
process_pdf_pages_cron()
A
37 13 69
handle_edit_intent()
A
40 13 58
process_sitemap_urls_cron()
A
40 12 58
mxchat_handle_activate_license()
A
43 12 46
mxchat_create_admin_page()
A
35 2 195
mxchat_loops_mailing_list_callback()
A
49 12 31
handle_pdf_for_knowledge_base()
A
41 10 55
handle_post_update()
A
42 10 53
mxchat_model_callback()
A
45 10 37
mxchat_handle_content_submission()
A
44 9 42
mxchat_save_inline_prompt()
A
46 9 38
mxchat_additional_popular_questions_callback()
A
42 7 60
handle_sitemap_for_knowledge_base()
A
45 8 43
mxchat_enqueue_admin_assets()
A
37 5 85
mxchat_enable_woocommerce_integration_callback()
S
50 7 27
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_title_icon_callback()
S
49 6 31
mxchat_custom_icon_callback()
S
49 6 31
initialize_default_options()
S
39 3 70
mxchat_chat_persistence_toggle_callback()
S
51 6 25
mxchat_complianz_toggle_callback()
S
51 6 25
mxchat_chat_toolbar_toggle_callback()
S
52 6 24
mxchat_live_agent_status_callback()
S
52 6 23
mxchat_calculate_cosine_similarity()
S
56 6 18
mxchat_pdf_max_pages_callback()
S
51 5 28
mxchat_woocommerce_consumer_secret_callback()
S
51 5 27
mxchat_pdf_intent_trigger_text_callback()
S
51 5 27
mxchat_pdf_intent_success_text_callback()
S
51 5 27
mxchat_pdf_intent_error_text_callback()
S
51 5 27
mxchat_stop_processing()
S
52 5 26
mxchat_extract_main_content()
S
52 5 25
mxchat_bot_message_font_color_callback()
S
53 5 24
mxchat_icon_color_callback()
S
53 5 24
mxchat_close_button_color_callback()
S
53 5 24
mxchat_toolbar_icon_color_callback()
S
53 5 24
mxchat_chatbot_bg_color_callback()
S
53 5 24
mxchat_mode_indicator_bg_color_callback()
S
53 5 24
mxchat_user_message_bg_color_callback()
S
53 5 24
mxchat_chat_input_font_color_callback()
S
53 5 24
mxchat_user_message_font_color_callback()
S
53 5 24
mxchat_bot_message_bg_color_callback()
S
53 5 24
mxchat_live_agent_message_font_color_callback()
S
53 5 24
mxchat_top_bar_bg_color_callback()
S
53 5 24
mxchat_live_agent_message_bg_color_callback()
S
53 5 24
mxchat_mode_indicator_font_color_callback()
S
53 5 24
mxchat_send_button_font_color_callback()
S
53 5 24
mxchat_chatbot_background_color_callback()
S
53 5 24
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_woocommerce_consumer_key_callback()
S
55 5 19
mxchat_popular_question_3_callback()
S
55 5 19
mxchat_popular_question_2_callback()
S
55 5 19
xai_api_key_callback()
S
56 5 18
claude_api_key_callback()
S
56 5 18
mxchat_live_agent_secret_key_callback()
S
56 5 18
mxchat_live_agent_bot_token_callback()
S
56 5 18
mxchat_rate_limit_roles_callback()
S
51 4 25
mxchat_privacy_toggle_callback()
S
54 4 21
mxchat_handle_delete_all_prompts()
S
55 4 18
mxchat_create_transcripts_page()
S
44 1 61
mxchat_fetch_loops_mailing_lists()
S
58 4 15
mxchat_average_vectors()
S
59 4 14
sync_settings_notice()
S
62 4 12
mxchat_handle_update_intent_threshold()
S
53 3 22
mxchat_display_admin_notice()
S
58 3 20
__construct()
S
48 2 33
mxchat_handle_delete_intent()
S
58 3 14
mxchat_rate_limit_logged_out_callback()
S
58 3 14
get_pdf_processing_status()
S
58 3 14
get_sitemap_processing_status()
S
58 3 14
mxchat_add_plugin_page()
S
48 1 43
enable_email_block_callback()
S
60 3 13
mxchat_link_target_toggle_callback()
S
60 3 13
mxchat_append_to_body_callback()
S
61 3 12
mxchat_similarity_threshold_callback()
S
53 2 26
mxchat_brave_safe_search_callback()
S
55 2 20
mxchat_generate_embedding()
S
55 2 19
email_blocker_header_content_callback()
S
59 2 16
mxchat_append_chatbot_to_body()
S
69 3 6
mxchat_add_option_field()
S
64 3 10
mxchat_rate_limit_message_callback()
S
61 2 12
mxchat_intro_message_callback()
S
63 2 11
mxchat_loops_api_key_callback()
S
63 2 11
mxchat_brave_api_key_callback()
S
62 2 11
mxchat_brave_language_callback()
S
63 2 11
mxchat_brave_country_callback()
S
63 2 11
mxchat_brave_news_count_callback()
S
63 2 11
mxchat_brave_image_count_callback()
S
63 2 11
mxchat_triggered_phrase_response_callback()
S
63 2 11
mxchat_email_capture_response_callback()
S
63 2 11
mxchat_prompts_page_init()
S
54 1 25
is_pdf_url()
S
70 2 5
mxchat_input_copy_callback()
S
64 2 10
mxchat_top_bar_title_callback()
S
71 2 5
sanitize_sync_setting()
S
79 2 3
api_key_callback()
S
69 2 6
deepseek_api_key_callback()
S
71 2 5
mxchat_pre_chat_message_callback()
S
64 2 10
mxchat_popular_question_1_callback()
S
65 2 9
system_prompt_instructions_callback()
S
67 2 8
email_blocker_button_text_callback()
S
63 2 10
mxchat_sanitize_content_for_api()
S
64 1 9
is_license_active()
S
75 1 4
mxchat_pdf_intent_section_callback()
S
78 1 3