MxChat_Admin D

Total Complexity 324
Dependencies 3
Dependents 0
Total lines 2,463
Lines of code 1,908
Logical lines of code 761
Comment lines 151
Methods 64
Properties 3

Methods 64

Method Rating Maintainability Complexity Lines of code
mxchat_sanitize()
D
25
52 150
mxchat_create_prompts_page()
B
28
14 172
mxchat_page_init()
B
24
1 310
mxchat_handle_sitemap_submission()
B
39 16 63
mxchat_fetch_chat_history()
A
43 9 49
mxchat_model_callback()
A
47 10 32
mxchat_create_admin_page()
A
38 2 147
mxchat_handle_content_submission()
A
44 9 42
mxchat_handle_activate_license()
A
51 10 24
mxchat_save_inline_prompt()
A
46 9 38
mxchat_enqueue_admin_assets()
A
39 5 75
mxchat_handle_delete_prompt()
A
49 8 27
mxchat_create_activation_page()
S
49 5 36
mxchat_complianz_toggle_callback()
S
53 6 21
mxchat_chat_persistence_toggle_callback()
S
53 6 21
mxchat_loops_mailing_list_callback()
S
55 6 18
mxchat_enable_woocommerce_integration_callback()
S
56 6 16
mxchat_enable_woocommerce_order_access_callback()
S
56 6 16
mxchat_extract_main_content()
S
52 5 25
mxchat_delete_chat_history()
S
53 5 22
claude_api_key_callback()
S
56 5 17
mxchat_woocommerce_consumer_secret_callback()
S
56 5 17
mxchat_popular_question_2_callback()
S
56 5 17
xai_api_key_callback()
S
56 5 17
mxchat_popular_question_3_callback()
S
56 5 17
mxchat_woocommerce_consumer_key_callback()
S
57 5 16
initialize_default_options()
S
44 2 51
mxchat_privacy_toggle_callback()
S
57 4 17
mxchat_user_message_bg_color_callback()
S
58 4 15
mxchat_chatbot_background_color_callback()
S
58 4 15
mxchat_bot_message_bg_color_callback()
S
58 4 15
mxchat_chatbot_bg_color_callback()
S
58 4 15
mxchat_close_button_color_callback()
S
58 4 15
mxchat_send_button_font_color_callback()
S
58 4 15
mxchat_user_message_font_color_callback()
S
58 4 15
mxchat_fetch_loops_mailing_lists()
S
58 4 15
mxchat_icon_color_callback()
S
58 4 15
mxchat_chat_input_font_color_callback()
S
58 4 15
mxchat_top_bar_bg_color_callback()
S
58 4 15
mxchat_bot_message_font_color_callback()
S
58 4 15
mxchat_display_admin_notice()
S
58 3 20
mxchat_append_to_body_callback()
S
62 3 11
mxchat_link_target_toggle_callback()
S
62 3 11
mxchat_rate_limit_callback()
S
61 3 11
__construct()
S
52 2 23
mxchat_add_plugin_page()
S
51 1 35
mxchat_generate_embedding()
S
55 2 19
mxchat_append_chatbot_to_body()
S
69 3 6
mxchat_add_option_field()
S
64 3 10
mxchat_loops_api_key_callback()
S
63 2 11
mxchat_create_transcripts_page()
S
59 1 19
mxchat_input_copy_callback()
S
68 2 7
api_key_callback()
S
71 2 5
mxchat_rate_limit_message_callback()
S
67 2 8
mxchat_popular_question_1_callback()
S
68 2 7
mxchat_intro_message_callback()
S
70 2 6
mxchat_trigger_keywords_callback()
S
71 2 5
mxchat_triggered_phrase_response_callback()
S
71 2 5
mxchat_email_capture_response_callback()
S
71 2 5
system_prompt_instructions_callback()
S
70 2 6
mxchat_top_bar_title_callback()
S
70 2 6
mxchat_pre_chat_message_callback()
S
70 2 6
is_license_active()
S
75 1 4
mxchat_sanitize_content_for_api()
S
64 1 9