Code Analysis: AI Chatbot for WordPress – Jotform 1.9.2

Function Rating Maintainability Complexity Lines of code
JAIC\Classes\JAIC_Core::renderChatbot()
C
44 27 34
JAIC\Classes\JAIC_Core::update()
B
40 23 51
JAIC\Classes\JAIC_Core::createSettings()
B
39 17 62
JAIC\Classes\JAIC_Core::setServiceURLs()
B
42 16 50
JAIC\Classes\JAIC_Core::createKnowledgeBase()
A
53 8 22
JAIC\Classes\JAIC_Core::__construct()
A
53 8 20
JAIC\Classes\JAIC_Core::delete()
S
46 6 42
JAIC\Classes\JAIC_Core::getPluginActivePages()
S
62 6 11
jotfotm_ai_plugin_updating()
S
62 5 11
JAIC\Classes\JAIC_Core::getPageContents()
S
54 4 22
JAIC\Classes\JAIC_Core::isPreviewMode()
S
71 5 4
jotform_ai_chatbot_developers_callback()
S
53 3 21
JAIC\Classes\JAIC_Core::getAPIKey()
S
65 4 8
JAIC\Classes\JAIC_Core::getPages()
S
62 3 11
jotform_ai_chatbot_plugin_settings_init()
S
53 2 25
jotform_ai_chatbot_sanitize_options()
S
64 3 10
jotform_ai_chatbot_show_preview_indicator()
S
59 2 15
JAIC\Classes\JAIC_Core::getKnowledgeBase()
S
73 3 4
jotform_ai_chatbot_register_plugin()
S
62 2 12
JAIC\Classes\JAIC_Request::responseJSON()
S
57 1 17
jotform_ai_chatbot_initialize_plugin()
S
57 1 17
jotfotm_ai_plugin_uninstallation()
S
74 2 5
jotform_ai_chatbot_show_plugin()
S
70 2 7
jotfotm_ai_plugin_activation()
S
74 2 5
jotfotm_ai_plugin_deactivation()
S
74 2 5
JAIC\Classes\JAIC_Request::response403()
S
76 1 4
JAIC\Classes\JAIC_Core::getPreviewURL()
S
79 1 3
JAIC\Classes\JAIC_Core::getPlatformAPIURL()
S
79 1 3
JAIC\Classes\JAIC_Core::getPluginNamespace()
S
81 1 3
jotform_ai_chatbot_plugin_options_page()
S
67 1 10
JAIC\Classes\JAIC_Core::getSiteURL()
S
81 1 3
JAIC\Classes\JAIC_Request::response500()
S
76 1 4
jotform_ai_chatbot_render_plugin()
S
66 1 10
JAIC\Classes\JAIC_Core::getPluginOptionKey()
S
81 1 3
JAIC\Classes\JAIC_Core::getPluginName()
S
81 1 3
JAIC\Classes\JAIC_Request::response400()
S
76 1 4
JAIC\Classes\JAIC_Core::getDomain()
S
79 1 3
JAIC\Classes\JAIC_Core::getSiteAPIURL()
S
81 1 3