XAGIO_MODEL_AI D

Total Complexity 193
Dependencies 4
Dependents 1
Total lines 1,637
Lines of code 1,231
Logical lines of code 521
Comment lines 92
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
getContentProfiles()
C
32 23 98
getSchemaProfiles()
B
38 18 64
getAiSchema()
B
32 13 114
getAiSuggestions()
A
39 13 63
getAiOutput()
A
40 11 59
copyTemplatePage()
A
38 9 72
getAiContent()
A
45 10 40
getAiSuggestionsByGroups()
A
45 7 44
xagio_ai_SCHEMA()
A
41 6 57
getHistory()
S
44 6 45
modifySuggestion()
S
44 5 45
getAiSchemaByPosts()
S
49 6 30
_sendAiRequest()
S
47 5 36
xagio_ai_PAGE_CONTENT()
S
48 5 33
getAiContentByPosts()
S
50 5 30
getAiContentByPostsTemplate()
S
52 5 24
checkAiStatusByIds()
S
54 5 21
xagio_ai_PAGE_CONTENT_TEMPLATE()
S
49 4 32
initialize()
S
45 2 52
undoAiContentTemplate()
S
48 3 37
getAiContentTemplate()
S
54 4 21
getSchemaHistory()
S
52 3 25
getAveragePrices()
S
55 3 21
xagio_ai_SEO_SUGGESTIONS()
S
53 3 20
xagio_ai_SEO_SUGGESTIONS_MAIN_KW()
S
53 3 20
aiResults()
S
61 3 12
useAiContentTemplate()
S
53 2 22
packKeywords()
S
61 2 13
createTable()
S
59 1 18
safeJsonDecode()
S
66 2 8
get_status_for_template_current_post()
S
59 1 15
get_status_for_current_post()
S
59 1 15
updatePageStatusAi()
S
67 1 8
removeallslashes()
S
74 1 4
getPageStatusAi()
S
65 1 9
removeTable()
S
76 1 4