GEEKYBOTstoriesModel D

Total Complexity 528
Dependencies 9
Dependents 0
Total lines 2,829
Lines of code 2,463
Logical lines of code 1,618
Comment lines 228
Methods 58
Properties 0

Methods 58

Method Rating Maintainability Complexity Lines of code
geekybotReadTemplate()
D
13
73 300
geekybotExportStoryToXML()
D
20
49 219
geekybotBuildWooCommerceStory()
B
28
12 224
geekybotBuildStory1()
B
32 19 103
getWcProductListingHtml()
B
34 20 85
updateStoryAjax()
B
34 18 88
saveAutoBuildStory()
B
37 19 71
saveStories()
B
36 17 83
getSearchResults()
B
36 17 73
getFunctionIdByName()
B
46 17 38
getFunctionNameById()
B
46 17 38
geekybotBuildAIStoryFromTemplate()
A
41 14 55
savedefaultFallbackFormAjax()
A
44 15 39
getResponseTextFormBodyHTMLAjax()
A
37 12 70
getDefaultIntentFallbackFormBodyHTMLAjax()
A
38 11 69
updateStoryForm()
A
42 11 50
getTextForTooltip()
A
47 12 33
getUserInputFormBodyHTMLAjax()
A
39 10 63
getDefaultFallbackFormBodyHTMLAjax()
A
38 9 69
findMatchingAttributes()
A
47 10 37
getProductDataForFallback()
A
40 8 61
getResponseFunctionFormBodyHTMLAjax()
A
48 8 30
deleteIntentsAndResponsesOfStory()
A
50 8 29
getResponseActionFormBodyHTMLAjax()
A
47 7 32
getResponseFormFormBodyHTMLAjax()
A
47 7 32
getStory()
S
55 7 18
geekybotEditStoryName()
S
54 6 21
deleteStoryData()
S
52 5 23
saveStoryAjax()
S
53 5 23
geekybotGetTopPositionForFallBack()
S
56 5 20
geekybotGetTopPosition()
S
56 5 20
getCookiesSavedSearchDataStories()
S
58 5 15
getAllCombinations()
S
59 5 14
saveProductDataForFallback()
S
55 4 21
getAllCombinationsWithKeys()
S
55 4 20
deleteStory()
S
57 4 17
permutations()
S
58 4 16
deleteStoryByType()
S
61 4 12
changeStatus()
S
61 4 12
resetStory()
S
51 3 25
getBotResponseForPopup()
S
57 3 16
setSearchVariableForStories()
S
70 4 5
addIntentToStory()
S
59 3 14
permutationsWithKeys()
S
60 3 13
deleteDefaultFallback()
S
60 3 13
generateCombinationsIterative()
S
62 3 12
getPredefinedFunctionsForWCCombobox()
S
50 2 26
getStoryModeById()
S
64 3 10
geekybotGetLeftPosition()
S
64 3 10
getTemplatesForCombobox()
S
60 2 12
getPredefinedFunctionsForSearch()
S
55 1 18
getMessagekey()
S
78 2 3
getAllStories()
S
59 1 14
getStoriesForCombobox()
S
73 1 5
getFrontSideStoriesSearchData()
S
73 1 5
getAdminStoriesSearchData()
S
65 1 9
getPredefinedFunctionsForAICombobox()
S
69 1 6
getPredefinedFunctionsName()
S
72 1 4