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

Function Rating Maintainability Complexity Lines of code
Parsedown::linesElements()
C
33 24 104
aikct_suggest_content::my_prompt_meta_box_callback()
C
25
3 378
Parsedown::element()
B
39 19 65
Parsedown::blockTable()
B
35 17 90
aikct_suggest_content::kctai_settings_page()
B
28
6 235
Parsedown::blockListContinue()
B
39 17 64
Parsedown::blockList()
A
40 13 57
Parsedown::lineElements()
A
41 12 58
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
aikct_suggest_content::save_api_keys()
A
53 9 22
Parsedown::blockTableContinue()
A
46 7 40
Parsedown::sanitiseElement()
A
50 7 31
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
Parsedown::blockComment()
S
55 5 20
Parsedown::blockFencedCodeContinue()
S
54 5 20
Parsedown::blockCode()
S
55 5 20
Parsedown::blockQuoteContinue()
S
58 5 16
Parsedown::blockFencedCode()
S
50 4 31
AiKctgpt::sendRequest()
S
45 3 45
kctaiproxy::sendRequest()
S
58 5 15
aikct_suggest_content::kctai_tool_customize_enqueue()
S
46 3 43
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
Parsedown::li()
S
63 5 10
Parsedown::extractElement()
S
61 4 14
Parsedown::blockListComplete()
S
61 4 13
aikct_suggest_content::kctai_load_func()
S
63 4 11
Parsedown::inlineSpecialCharacter()
S
61 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::blockCommentContinue()
S
61 3 12
Parsedown::elementApplyRecursive()
S
62 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
Parsedown::blockQuote()
S
58 2 16
Parsedown::inlineCode()
S
58 2 15
Parsedown::inlineEscapeSequence()
S
65 3 9
Parsedown::blockMarkupContinue()
S
66 3 8
Parsedown::inlineText()
S
59 2 15
aikct_suggest_content::my_prompt_meta_box()
S
62 2 13
Parsedown::striAtStart()
S
63 2 11
aikct_suggest_content::kctai_add_settings_menu()
S
58 1 19
aikct_suggest_content::__construct()
S
58 1 16
Parsedown::elementsApplyRecursiveDepthFirst()
S
69 2 7
Parsedown::instance()
S
66 2 9
Gemini::refreshApiKey()
S
67 2 8
Gemini::getApiKey()
S
69 2 7
Parsedown::escape()
S
77 2 3
Parsedown::paragraphContinue()
S
66 2 8
Parsedown::elementsApplyRecursive()
S
69 2 7
Parsedown::paragraph()
S
61 1 13
Parsedown::handleElementsRecursive()
S
79 1 3
Parsedown::setBreaksEnabled()
S
77 1 4
Parsedown::text()
S
70 1 6
aikct_suggest_content::add_custom_tinymce_button()
S
76 1 4
aikct_suggest_content::aikct_enqueue_gutenberg_button()
S
65 1 9
Parsedown::blockCodeComplete()
S
82 1 3
Parsedown::setSafeMode()
S
77 1 4
Parsedown::lines()
S
80 1 3
Parsedown::parse()
S
77 1 4
aikct_engine_markdown()
S
73 1 5
Parsedown::setMarkupEscaped()
S
77 1 4
Parsedown::textElements()
S
68 1 7
Parsedown::line()
S
79 1 3
Parsedown::setStrictMode()
S
77 1 4
aikct_suggest_content::add_custom_tinymce_plugin()
S
72 1 5
Parsedown::blockFencedCodeComplete()
S
82 1 3
Parsedown::unmarkedText()
S
75 1 4
Parsedown::isBlockCompletable()
S
78 1 3
Parsedown::setUrlsLinked()
S
77 1 4
aikct_suggest_content::load_textdomain()
S
77 1 3
Parsedown::isBlockContinuable()
S
78 1 3
AiKctgpt::__construct()
S
81 1 3
Gemini::__construct()
S
69 1 7
aikct_suggest_content::wpse_gutenberg_editor_action()
S
91 1 2
Parsedown::handleElementRecursive()
S
79 1 3
wp_json_encode()
S
81 1 3