Code Analysis: Chatbot ChatGPT 1.6.1

Function Rating Maintainability Complexity Lines of code
chatbot_chatgpt_settings_page_html()
B
32 15 171
chatbot_chatgpt_settings_init()
A
30 1 187
chatbot_chatgpt_admin_footer()
A
38 2 139
addEntry()
A
50 9 29
crawl_scheduled_event()
A
45 7 43
chatbot_chatgpt_avatar_icon_callback()
S
48 6 33
WebCrawler::crawl()
S
48 6 32
WebCrawler::computeFrequency()
S
39 5 47
chatbot_chatgpt_enqueue_scripts()
S
40 3 66
WebCrawler::getLinks()
S
54 6 20
chatbot_chatgpt_call_api()
S
44 4 43
chatbot_chatgpt_localize()
S
44 3 54
chatbot_chatgpt_knowledge_navigator_section_callback()
S
51 4 31
WebCrawler::__construct()
S
58 5 15
chatbot_chatgpt_deactivation_feedback()
S
50 3 28
chatbot_chatgpt_support_section_callback()
S
100 1 57
chatbot_chatgpt_send_message()
S
61 3 11
WebCrawler::computeInverseDocumentFrequency()
S
64 3 9
chatbot_chatgpt_kn_maximum_top_words_callback()
S
61 2 12
chatgpt_max_tokens_setting_callback()
S
61 2 12
chatbot_chatgpt_kn_maximum_depth_callback()
S
61 2 12
chatbot_chatgpt_conversation_context_callback()
S
64 2 11
chatbot_chatgpt_shortcode()
S
56 1 24
chatbot_chatgpt_api_key_callback()
S
68 2 8
chatbot_chatgpt_avatar_greeting_callback()
S
66 2 9
display_option_value_admin_notice()
S
71 2 6
dismiss_chatgpt_notice()
S
74 2 5
sanitize_api_key()
S
71 2 6
output_results()
S
63 2 10
concatenateHistory()
S
69 2 7
chatbot_chatgpt_settings_page()
S
78 1 3
chatbot_chatgptStartStatusNewVisitor_callback()
S
66 1 9
chatgpt_disclaimer_setting_callback()
S
66 1 9
chatbot_chatgpt_create_nonce()
S
73 1 5
chatbot_chatgptStartStatus_callback()
S
66 1 9
WebCrawler::getFrequencyData()
S
82 1 3
chatbot_chatgpt_settings_section_callback()
S
100 1 5
chatbot_chatgpt_premium_section_callback()
S
100 1 5
chatbot_chatgpt_kn_status_activation()
S
80 1 3
WebCrawler::removeWordFromFrequencyData()
S
80 1 3
chatbot_chatgpt_plugin_action_links()
S
71 1 5
chatgpt_diagnostics_setting_callback()
S
65 1 10
chatbot_chatgpt_premium_key_callback()
S
72 1 6
enqueue_jquery_ui()
S
77 1 4
chatbot_chatgpt_kn_status_deactivation()
S
82 1 3
chatbot_chatgpt_knowledge_navigator_callback()
S
66 1 9
chatbot_chatgpt_avatar_section_callback()
S
83 1 3
chatbot_chatgpt_bot_name_callback()
S
71 1 6
enqueue_greetings_script()
S
64 1 9
chatgpt_width_setting_callback()
S
66 1 9
chatbot_chatgpt_initial_greeting_callback()
S
71 1 6
chatbot_chatgpt_subsequent_greeting_callback()
S
71 1 6
chatbot_chatgpt_api_model_section_callback()
S
100 1 9
chatbot_chatgpt_custom_avatar_callback()
S
69 1 7
WebCrawler::computeTermFrequency()
S
79 1 3
WebCrawler::computeTFIDF()
S
72 1 5
chatbot_chatgpt_model_choice_callback()
S
65 1 10