Code Analysis: Chatbot ChatGPT 1.6.7

Function Rating Maintainability Complexity Lines of code
chatbot_chatgpt_settings_page_html()
C
28
23 205
chatbot_chatgpt_call_api()
B
31 19 114
chatbot_chatgpt_kn_acquire()
B
30 15 157
chatbot_chatgpt_settings_init()
B
24
1 308
chatbot_chatgpt_upgrade_activation_deactivation()
A
56 15 16
chatbot_chatgpt_simple_chart_shortcode_function()
A
42 11 46
kn_acquire_word_pairs()
A
40 9 62
chatbot_chatgpt_knowledge_navigator_section_callback()
A
41 8 63
kn_acquire_just_the_words()
A
41 8 56
chatbot_chatgpt_shortcode()
A
41 7 70
chatbot_chatgpt_admin_footer()
A
38 2 145
test_chatgpt_api()
A
43 8 45
addEntry()
A
50 9 29
chatbot_chatgpt_enqueue_scripts()
A
37 5 86
chatbot_chatgpt_knowledge_navigator_section_callback()
A
44 7 53
chatbot_chatgpt_avatar_icon_callback()
A
44 7 45
crawl_scheduled_event()
A
45 7 43
chatbot_chatgpt_send_message()
A
50 8 27
chatbot_chatgpt_upgrade_167()
A
54 8 24
WebCrawler::crawl()
A
46 7 37
getTheStepsStatus()
A
47 7 35
WebCrawler::computeFrequency()
S
39 5 47
chatbot_chatgpt_upgrade()
S
57 7 16
chatbot_chatgpt_upgrade_completed()
S
62 8 10
chatbot_chatgpt_localize()
S
41 3 69
output_results()
S
52 6 23
generate_gd_bar_chart()
S
42 4 51
WebCrawler::getLinks()
S
54 6 20
WebCrawler::__construct()
S
58 5 15
getTheRunsStatus()
S
51 4 28
display_option_value_admin_notice()
S
53 4 25
chatbot_chatgpt_custom_gpt_call_api()
S
54 4 21
chatbot_chatgpt_check_version()
S
63 5 10
chatbot_chatgpt_deactivation_feedback()
S
50 3 28
runTheAssistant()
S
51 3 27
chatbot_chatgpt_support_section_callback()
S
100 1 57
store_top_words()
S
55 3 22
chatbot_chatgpt_kn_analysis_download_csv()
S
57 3 17
chatbot_chatgpt_kn_analysis_download_csv()
S
59 3 15
chatbot_chatgpt_assistant_id_callback()
S
63 4 10
chatbot_chatgpt_avatar_icon_set_callback()
S
59 3 14
dbKNStore()
S
56 2 20
update_interaction_tracking()
S
55 2 20
dbKNStoreTFIDF()
S
57 2 18
knowledge_navigator_scan()
S
56 2 18
chatbot_chatgpt_kn_status_activation()
S
67 3 9
computePairedInverseDocumentFrequency()
S
63 3 10
chatgpt_option_updated()
S
68 3 7
computeInverseDocumentFrequency()
S
63 3 10
WebCrawler::computeInverseDocumentFrequency()
S
64 3 9
chatbot_chatgpt_kn_maximum_depth_callback()
S
61 2 12
chatbot_chatgpt_kn_maximum_top_words_callback()
S
61 2 12
chatbot_chatgpt_kn_maximum_top_words_callback()
S
61 2 12
chatbot_chatgpt_use_custom_gpt_assistant_id_callback()
S
62 2 12
chatgpt_max_tokens_setting_callback()
S
61 2 12
chatbot_chatgpt_conversation_context_callback()
S
64 2 11
display_option_value_admin_notice()
S
63 2 11
addAMessage()
S
55 1 20
dismiss_chatgpt_notice()
S
74 2 5
chatbot_chatgpt_delete_chart()
S
68 2 7
chatbot_chatgpt_custom_button_name_1_callback()
S
69 2 7
concatenateHistory()
S
69 2 7
output_results()
S
63 2 10
getTheRunsSteps()
S
59 1 15
chatbot_chatgpt_custom_button_link_2_callback()
S
69 2 7
dismiss_chatgpt_notice()
S
74 2 5
chatbot_chatgpt_custom_button_name_2_callback()
S
69 2 7
getTheMessage()
S
59 1 15
chatbot_chatgpt_avatar_greeting_callback()
S
66 2 9
chatbot_chatgpt_custom_button_link_1_callback()
S
69 2 7
get_plugin_version()
S
64 2 9
chatbot_chatgpt_kn_analysis_section_callback()
S
65 2 10
chatbot_chatgpt_kn_analysis_section_callback()
S
65 2 10
createAnAssistant()
S
59 1 15
chatbot_chatgpt_api_model_section_callback()
S
100 1 14
chatbot_chatgpt_diagnostics_section_callback()
S
61 1 14
chatbot_chatgpt_knowledge_navigator_callback()
S
60 1 14
chatbot_chatgpt_knowledge_navigator_callback()
S
60 1 14
create_chatbot_chatgpt_interactions_table()
S
62 1 12
chatbot_chatgpt_model_choice_callback()
S
64 1 11
chatbot_chatgpt_reporting_period_callback()
S
63 1 11
chatbot_chatgpt_settings_section_callback()
S
100 1 5
chatbot_chatgpt_kn_analysis_output_callback()
S
68 1 8
chatbot_chatgpt_bot_prompt_callback()
S
71 1 6
computePairedTFIDF()
S
68 1 7
chatbot_chatgptStartStatus_callback()
S
66 1 9
chatbot_chatgpt_custom_button_section_callback()
S
100 1 7
chatgpt_width_setting_callback()
S
66 1 9
WebCrawler::computeTFIDF()
S
72 1 5
chatbot_chatgpt_kn_status_deactivation()
S
77 1 4
chatbot_chatgpt_subsequent_greeting_callback()
S
71 1 6
chatbot_chatgpt_api_key_callback()
S
72 1 6
chatbot_chatgpt_kn_analysis_output_callback()
S
65 1 10
WebCrawler::computeTermFrequency()
S
79 1 3
WebCrawler::getFrequencyData()
S
82 1 3
chatbot_chatgpt_suppress_notices_callback()
S
65 1 10
chatbot_chatgptStartStatusNewVisitor_callback()
S
66 1 9
chatbot_chatgpt_plugin_action_links()
S
71 1 5
chatbot_chatgpt_diagnostics_setting_callback()
S
65 1 10
enqueue_jquery_ui()
S
77 1 4
computeTFIDF()
S
68 1 7
chatbot_chatgpt_custom_avatar_callback()
S
71 1 6
chatbot_chatgpt_bot_name_callback()
S
71 1 6
chatbot_chatgpt_settings_page()
S
78 1 3
chatgpt_disclaimer_setting_callback()
S
66 1 9
chatbot_chatgpt_initial_greeting_callback()
S
71 1 6
chatbot_chatgpt_reporting_section_callback()
S
72 1 8
chatbot_chatgpt_create_nonce()
S
75 1 4
chatbot_chatgpt_enable_custom_buttons_callback()
S
65 1 10
chatbot_chatgpt_suppress_attribution_callback()
S
65 1 10
computePairedTermFrequency()
S
75 1 4
WebCrawler::removeWordFromFrequencyData()
S
80 1 3
chatbot_chatgpt_api_test_callback()
S
67 1 8
computeTermFrequency()
S
76 1 4
chatbot_chatgpt_avatar_section_callback()
S
75 1 7
chatbot_chatgpt_premium_key_callback()
S
72 1 6
chatbot_chatgpt_premium_section_callback()
S
100 1 5
enqueue_greetings_script()
S
64 1 9