Code Analysis: AIKCT Engine Chatbot, ChatGPT, Gemini, GPT-4o Best AI Chatbot 1.5.3

Function Rating Maintainability Complexity Lines of code
aikct_suggest_content::my_prompt_meta_box_callback()
D
21
3 567
Parsedown::linesElements()
C
33 24 104
Parsedown::element()
B
39 19 65
Parsedown::blockTable()
B
35 17 90
aikct_suggest_content::kctai_settings_page()
B
28
6 247
Parsedown::blockListContinue()
B
39 17 64
aikct_suggest_content::save_api_keys()
A
47 15 34
Parsedown::blockList()
A
40 13 57
Parsedown::lineElements()
A
41 12 58
AIKCT_Prompt_Metabox::save_metabox()
A
48 12 30
aikct_get_prompt_params()
A
53 12 20
Gemini::sendRequest()
A
38 7 84
Parsedown::inlineMarkup()
A
50 10 27
aikct_suggest_content::handle_get_free_api_key()
A
46 9 37
Parsedown::inlineLink()
A
42 7 60
Parsedown::blockTableContinue()
A
46 7 40
Parsedown::sanitiseElement()
A
50 7 31
AIKCT_Prompt_Render::render_prompt_form()
S
49 7 29
kctaiproxy::__construct()
S
51 7 28
Parsedown::elements()
S
55 7 19
Parsedown::blockSetextHeader()
S
60 7 11
Parsedown::inlineUrl()
S
52 6 23
Parsedown::inlineEmphasis()
S
50 5 30
Parsedown::handle()
S
51 5 29
aikct_suggest_content::wpse_is_gutenberg_editor()
S
61 6 12
Parsedown::blockHeader()
S
53 5 24
Parsedown::blockMarkup()
S
54 5 22
aikct_suggest_content::aikct_create_imagesAI()
S
47 4 36
Parsedown::blockCode()
S
55 5 20
Parsedown::blockComment()
S
55 5 20
Parsedown::blockFencedCodeContinue()
S
54 5 20
aikct_suggest_content::kctai_tool_customize_enqueue()
S
44 3 49
kctaiproxy::sendRequest()
S
56 5 17
Parsedown::blockQuoteContinue()
S
58 5 16
Parsedown::blockFencedCode()
S
50 4 31
AiKctgpt::sendRequest()
S
45 3 45
AIKCT_Prompt_Metabox::render_metabox()
S
46 3 44
Parsedown::inlineImage()
S
52 4 26
Parsedown::inlineEmailTag()
S
52 4 24
Parsedown::inlineStrikethrough()
S
55 4 20
aikct_suggest_content::check_editor_type_and_enqueue_scripts()
S
56 4 18
Parsedown::blockReference()
S
57 4 16
aikct_suggest_content::suggest_prompt_img_handler()
S
58 4 15
aikct_suggest_content::create_image_for_post_handler()
S
58 4 15
Parsedown::li()
S
63 5 10
aikct_suggest_content::aikct_set_post_thumbnail_handler()
S
58 4 15
Parsedown::extractElement()
S
61 4 14
Parsedown::blockListComplete()
S
61 4 13
Parsedown::inlineSpecialCharacter()
S
61 4 11
aikct_suggest_content::kctai_load_func()
S
63 4 11
aikct_suggest_content::kct_ai_q()
S
53 3 23
Parsedown::pregReplaceElements()
S
57 3 17
Parsedown::inlineUrlTag()
S
58 3 16
Parsedown::blockCodeContinue()
S
59 3 14
Parsedown::elementApplyRecursive()
S
62 3 12
Parsedown::blockCommentContinue()
S
61 3 12
Parsedown::elementApplyRecursiveDepthFirst()
S
62 3 12
Parsedown::blockRule()
S
61 3 12
Parsedown::filterUnsafeUrlInAttribute()
S
62 3 11
ast_fs()
S
53 2 24
AIKCT_Prompt_CPT::register_prompt_cpt()
S
48 1 32
aikct_suggest_content::aikct_find_prompt()
S
58 2 16
Parsedown::blockQuote()
S
58 2 16
i0()
S
84 3 1
Parsedown::inlineText()
S
59 2 15
Parsedown::inlineCode()
S
58 2 15
Parsedown::blockMarkupContinue()
S
66 3 8
Parsedown::inlineEscapeSequence()
S
65 3 9
d0()
S
84 3 1
aikct_suggest_content::my_prompt_meta_box()
S
62 2 13
Parsedown::striAtStart()
S
63 2 11
aikct_suggest_content::__construct()
S
54 1 21
aikct_suggest_content::kctai_add_settings_menu()
S
58 1 19
Gemini::refreshApiKey()
S
67 2 8
Parsedown::elementsApplyRecursive()
S
69 2 7
Parsedown::escape()
S
77 2 3
Parsedown::instance()
S
66 2 9
Parsedown::paragraphContinue()
S
66 2 8
Parsedown::elementsApplyRecursiveDepthFirst()
S
69 2 7
Gemini::getApiKey()
S
69 2 7
Parsedown::paragraph()
S
61 1 13
Parsedown::isBlockContinuable()
S
78 1 3
Parsedown::text()
S
70 1 6
aikct_suggest_content::add_custom_tinymce_plugin()
S
72 1 5
aikct_suggest_content::wpse_gutenberg_editor_action()
S
91 1 2
aikct_suggest_content::activate()
S
80 1 3
AiKctgpt::__construct()
S
81 1 3
Parsedown::handleElementRecursive()
S
79 1 3
Parsedown::setUrlsLinked()
S
77 1 4
Parsedown::blockFencedCodeComplete()
S
82 1 3
Parsedown::textElements()
S
68 1 7
aikct_suggest_content::load_textdomain()
S
77 1 3
Parsedown::setMarkupEscaped()
S
77 1 4
aikct_suggest_content::deactivate()
S
80 1 3
Parsedown::isBlockCompletable()
S
78 1 3
AIKCT_Prompt_Metabox::add_metabox()
S
65 1 10
aikct_suggest_content::add_custom_tinymce_button()
S
76 1 4
Parsedown::handleElementsRecursive()
S
79 1 3
Parsedown::line()
S
79 1 3
Parsedown::setBreaksEnabled()
S
77 1 4
Parsedown::lines()
S
80 1 3
AIKCT_Prompt_CPT::add_prompt_to_menu()
S
67 1 9
aikct_suggest_content::aikct_enqueue_gutenberg_button()
S
65 1 9
Parsedown::parse()
S
77 1 4
Gemini::__construct()
S
69 1 7
Parsedown::setStrictMode()
S
77 1 4
wp_json_encode()
S
81 1 3
Parsedown::setSafeMode()
S
77 1 4
Parsedown::unmarkedText()
S
75 1 4
Parsedown::blockCodeComplete()
S
82 1 3