Code Analysis: AI Shoutbox 2.0.1

Function Rating Maintainability Complexity Lines of code
aish_enqueue_scripts()
A
48 13 27
aish_handle_login()
A
54 12 16
aish_render_html()
A
48 7 36
aish_post_message()
S
56 7 14
aish_get_openai_response()
S
57 5 12
aish_enqueue_admin_scripts()
S
57 3 15
aish_options_sanitize()
S
66 4 6
aish_settings_init()
S
52 2 22
aish_handle_clear_chat()
S
66 2 7
aish_options_page_html()
S
68 2 7
aish_get_messages()
S
66 2 7
AISH_Widget::form()
S
67 2 7
aish_on_activate()
S
70 2 6
AISH_Widget::widget()
S
64 2 9
AISH_Widget::update()
S
71 2 5
aish_api_section_callback()
S
94 1 1
aish_openai_key_render()
S
86 1 1
aish_max_tokens_render()
S
86 1 1
aish_text_field_render()
S
86 1 1
aish_on_deactivate()
S
82 1 3
aish_prune_database()
S
72 1 5
aish_create_db_table()
S
66 1 8
aish_recaptcha_secret_key_render()
S
86 1 1
aish_tools_section_callback()
S
94 1 1
aish_recaptcha_site_key_render()
S
86 1 1
aish_clear_chat_render()
S
94 1 1
aish_add_admin_menu()
S
78 1 3
AISH_Widget::__construct()
S
78 1 3
aish_text_section_callback()
S
94 1 1
aish_shortcode_render()
S
75 1 5