XAGIO_MODEL_AI D

Total Complexity 549
Dependencies 10
Dependents 1
Total lines 3,438
Lines of code 2,551
Logical lines of code 1,282
Comment lines 252
Methods 67
Properties 0

Methods 67

Method Rating Maintainability Complexity Lines of code
persist_image_to_gutenberg()
D
23
68 126
xagio_ai_IMAGE_GEN()
C
30 25 116
xagio_ai_IMAGE_EDIT()
C
33 25 89
getContentProfiles()
C
32 23 97
xagio_ai_CLUSTER()
B
30 18 127
getSchemaProfiles()
B
38 18 64
getAiSchema()
B
33 13 111
replace_kadence_pane_title_html()
A
40 15 54
getAiSuggestions()
A
39 13 63
getAttachmentIdByUrlFunction()
A
38 12 76
xagio_ai_TEXT_CONTENT()
A
38 12 74
replace_first_selector_inner_text()
A
49 15 26
xagio_ai_SCHEMA()
A
38 11 75
apply_text_update_for_block()
A
50 14 25
getAiOutput()
A
40 11 59
processImageEditByAttachmentID()
A
42 11 52
copyTemplatePage()
A
38 9 74
elementorReplaceImageByUrl()
A
51 11 26
getAiContent()
A
45 10 40
elementorReplaceTextById()
A
53 11 22
xagio_normalize_uploads_url()
A
46 10 37
kadence_replace_text_recursive()
A
54 11 18
processTextEdit()
A
45 9 42
remoteCheckAiStatuses()
A
43 8 48
xagio_ai_PAGE_CONTENT()
A
44 8 45
getAiSuggestionsByGroups()
A
45 7 44
xagio_ai_PAGE_CONTENT_TEMPLATE()
A
45 7 44
getHistory()
S
44 6 45
_sendAiRequest()
S
47 6 34
modifySuggestion()
S
44 5 45
getAiSchemaByPosts()
S
49 6 30
markAiImageJobAsComplete()
S
50 6 29
initialize()
S
40 2 84
remoteCheckAiStatusByIds()
S
54 6 20
getAiContentByPosts()
S
50 5 30
getAiImageEditsByAttachments()
S
51 5 28
xagio_ai_SEO_SUGGESTIONS()
S
50 5 28
xagio_ai_SEO_SUGGESTIONS_MAIN_KW()
S
50 5 28
elementorReplaceMapAddress()
S
60 6 13
getAiContentByPostsTemplate()
S
52 5 24
checkAiStatusByIds()
S
53 5 22
getAiFrontEndOutput()
S
48 4 34
collect_block_html()
S
64 6 9
undoAiContentTemplate()
S
48 3 38
getAiContentTemplate()
S
54 4 21
checkTextStatus()
S
54 4 19
checkClusterStatus()
S
55 4 18
checkImageStatus()
S
55 4 18
getAttachmentIdByUrl()
S
56 4 17
push_block_html()
S
66 5 8
replace_main_text_node()
S
60 4 12
getSchemaHistory()
S
52 3 25
update_kadence_text_by_unique_id()
S
54 3 24
getAveragePrices()
S
55 3 21
getAiClustering()
S
57 3 16
aiResults()
S
61 3 12
useAiContentTemplate()
S
53 2 22
packKeywords()
S
61 2 13
createTable()
S
59 1 18
get_status_for_current_post()
S
59 1 15
get_status_for_template_current_post()
S
59 1 15
safeJsonDecode()
S
66 2 8
getPageStatusAi()
S
65 1 9
removeAiRequest()
S
67 1 8
updatePageStatusAi()
S
66 1 9
removeallslashes()
S
74 1 4
removeTable()
S
76 1 4