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

Function Rating Maintainability Complexity Lines of code
Parsedown::linesElements()
C
33 24 104
Parsedown::element()
B
39 19 65
Parsedown::blockTable()
B
35 17 90
Parsedown::blockListContinue()
B
39 17 64
aikct_suggest_content::kctai_settings_page()
A
34 3 208
Parsedown::blockList()
A
40 13 57
Parsedown::lineElements()
A
41 12 58
Parsedown::inlineMarkup()
A
50 10 27
Gemini::sendRequest()
A
39 6 75
Parsedown::inlineLink()
A
42 7 60
Parsedown::blockTableContinue()
A
46 7 40
Parsedown::sanitiseElement()
A
50 7 31
aikct_suggest_content::my_prompt_meta_box_callback()
A
42 1 121
kctaiproxy::__construct()
S
51 7 28
Parsedown::elements()
S
55 7 19
aikct_suggest_content::save_api_keys()
S
58 7 15
aikct_suggest_content::handle_get_free_api_key()
S
51 6 28
Parsedown::blockSetextHeader()
S
60 7 11
Parsedown::inlineUrl()
S
52 6 23
Parsedown::inlineEmphasis()
S
50 5 30
Parsedown::handle()
S
51 5 29
Parsedown::blockHeader()
S
53 5 24
Parsedown::blockMarkup()
S
54 5 22
Parsedown::blockFencedCodeContinue()
S
54 5 20
Parsedown::blockCode()
S
55 5 20
Parsedown::blockComment()
S
55 5 20
Parsedown::blockQuoteContinue()
S
58 5 16
Parsedown::blockFencedCode()
S
50 4 31
AiKctgpt::sendRequest()
S
45 3 45
Parsedown::inlineImage()
S
52 4 26
Parsedown::inlineEmailTag()
S
52 4 24
Parsedown::inlineStrikethrough()
S
55 4 20
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
kctaiproxy::sendRequest()
S
62 4 11
Parsedown::inlineSpecialCharacter()
S
61 4 11
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::elementApplyRecursiveDepthFirst()
S
62 3 12
Parsedown::blockRule()
S
61 3 12
Parsedown::blockCommentContinue()
S
61 3 12
Parsedown::filterUnsafeUrlInAttribute()
S
62 3 11
ast_fs()
S
53 2 24
aikct_suggest_content::kct_ai_q()
S
56 2 19
Parsedown::blockQuote()
S
58 2 16
Parsedown::blockMarkupContinue()
S
66 3 8
Parsedown::inlineText()
S
59 2 15
Parsedown::inlineCode()
S
58 2 15
Parsedown::inlineEscapeSequence()
S
65 3 9
Parsedown::striAtStart()
S
63 2 11
aikct_suggest_content::kctai_register_settings()
S
60 1 16
Parsedown::elementsApplyRecursiveDepthFirst()
S
69 2 7
Gemini::getApiKey()
S
69 2 7
Parsedown::paragraphContinue()
S
66 2 8
Gemini::refreshApiKey()
S
67 2 8
Parsedown::elementsApplyRecursive()
S
69 2 7
aikct_suggest_content::__construct()
S
59 1 15
Parsedown::escape()
S
77 2 3
Parsedown::instance()
S
66 2 9
Parsedown::paragraph()
S
61 1 13
aikct_suggest_content::kctai_add_settings_menu()
S
65 1 11
Parsedown::isBlockCompletable()
S
78 1 3
Parsedown::handleElementsRecursive()
S
79 1 3
Parsedown::blockCodeComplete()
S
82 1 3
Parsedown::isBlockContinuable()
S
78 1 3
Parsedown::setUrlsLinked()
S
77 1 4
aikct_suggest_content::kctai_settings_section_callback()
S
82 1 3
Parsedown::textElements()
S
68 1 7
Parsedown::lines()
S
80 1 3
Parsedown::line()
S
79 1 3
Parsedown::setBreaksEnabled()
S
77 1 4
Gemini::__construct()
S
69 1 7
Parsedown::handleElementRecursive()
S
79 1 3
aikct_suggest_content::my_prompt_meta_box()
S
66 1 10
Parsedown::setStrictMode()
S
77 1 4
AiKctgpt::__construct()
S
81 1 3
aikct_suggest_content::kctai_tool_customize_enqueue()
S
71 1 5
Parsedown::unmarkedText()
S
75 1 4
Parsedown::parse()
S
77 1 4
Parsedown::setSafeMode()
S
77 1 4
Parsedown::setMarkupEscaped()
S
77 1 4
Parsedown::text()
S
70 1 6
Parsedown::blockFencedCodeComplete()
S
82 1 3
aikct_suggest_content::kctai_setting_example_callback()
S
75 1 4