UniteFunctionsWPUC D

Total Complexity 637
Dependencies 14
Dependents 37
Total lines 4,214
Lines of code 2,301
Logical lines of code 1,734
Comment lines 591
Methods 165
Properties 15

Methods 165

Method Rating Maintainability Complexity Lines of code
getPostsArgs()
B
40 19 58
getPosts_getTaxQuery()
B
47 17 35
filterTermsLastLevel()
A
47 13 38
getUserData()
A
44 11 43
getPosts_getTaxQuery_getArrQuery()
A
45 11 41
getMenuItems()
A
43 10 46
getArrThumbSizes()
A
43 9 47
getUserMeta()
A
51 10 26
insertPost()
A
47 9 34
getPostCustomFields()
A
49 9 31
getPostsByType()
A
48 9 31
getArrAuthorsShort()
A
46 8 40
getPostTermsTitles()
A
53 9 22
getAttachmentData()
A
47 8 36
findAndRemoveInclude()
A
50 8 30
getAttachmentIDFromImageUrl()
A
47 7 34
getCategoriesAssoc()
S
49 7 29
getPostTypesWithCats()
S
50 7 27
isArchiveLocation()
S
61 8 12
cachePostsTermsQueries()
S
51 7 27
groupTaxQuery()
S
52 7 26
mergeQueryVars()
S
53 7 24
isUserCanEditPost()
S
53 7 23
getPostTermIDs()
S
56 7 19
clearFiltersFromFunctions()
S
55 7 19
getTermImage()
S
56 7 18
getPostImage()
S
56 7 18
getPostMeta()
S
56 7 17
filterPublicOnlyTypes()
S
58 7 15
getNextPrevPostData()
S
53 6 22
getTermsObjectsData()
S
54 6 20
updateTermsIndexes()
S
54 6 20
getQueriedObject()
S
55 6 19
getCategoriesByIDs()
S
56 6 19
getTermCustomFields()
S
55 6 19
getArrSortBy()
S
47 5 33
getPostMetaKeys()
S
57 6 16
getTermMeta()
S
59 6 14
getPostTypesAssoc()
S
53 5 22
getCatIDBySlug()
S
54 5 21
getPostTitlesByIDs()
S
54 5 21
getAdminTitle()
S
54 5 21
getSpecificTerms()
S
55 5 19
getPostTerms()
S
56 5 18
getPostAllSingleTerms()
S
56 5 18
getPostTagsIDs()
S
57 5 17
getTermCustomField()
S
57 5 17
getPostCustomField()
S
57 5 17
getPostContent()
S
56 5 17
getPostCategoriesIDs()
S
57 5 17
getTermParentIDs()
S
57 5 16
orderPostsByIDs()
S
58 5 16
cleanQueryArgsForDebug()
S
58 5 16
getPostTypesWithTaxomonies()
S
57 5 16
getTermsIDsWithParentIDs()
S
58 5 15
getPost()
S
59 5 14
getUserDataById()
S
56 4 19
getPathUploads()
S
57 4 18
getTermsArgs()
S
56 4 18
getMaxMenuOrder()
S
57 4 16
getUserCustomFields()
S
57 4 16
getUrlAttachmentImage()
S
59 4 14
getAttachmentPostTitle()
S
59 4 14
getTerms()
S
58 4 14
getPostTerm()
S
60 4 13
getPostsAttachmentsIDs()
S
61 4 13
getCurrentPageTaxQuery()
S
62 4 12
getTerms_filterBySlugs()
S
62 4 12
getPostTypesWithCatIDs()
S
55 3 19
getTermData()
S
57 3 17
mergeArgsTaxQuery()
S
59 3 16
getPostByName()
S
58 3 16
getTaxonomiesWithCats()
S
59 3 15
isAdminPostsPage()
S
65 4 9
deleteMultiplePosts()
S
65 4 9
updatePostArgsOrderBy()
S
60 3 14
getPostSingleTerms()
S
59 3 14
getUrlBlog()
S
60 3 14
addPrefixToPostName()
S
60 3 13
getFirstImageIDFromContent()
S
60 3 13
addCategory()
S
61 3 12
getMenusListShort()
S
62 3 12
getUrlCurrentPage()
S
62 3 11
getPosts_whereFilter()
S
62 3 11
getPostTypeTaxomonies()
S
62 3 11
getPostMetaKeys_PODS()
S
63 3 11
getFilterCallbacks()
S
64 3 10
getActionFunctionsKeys()
S
63 3 10
cachePostsAttachmentsQueries()
S
67 3 8
getLanguage()
S
63 3 10
getUserMetaKeys()
S
52 1 30
updatePost()
S
65 3 9
preventCachingPage()
S
65 3 9
isAdminPermissions()
S
72 3 5
initStaticVars()
S
66 3 8
getPostMetaKeys_TOOLSET()
S
64 3 10
isDBTableExists()
S
63 3 10
getTermLevel()
S
63 3 10
getPostTypeTaxonomiesString()
S
63 3 10
getCurrentTermID()
S
67 3 8
getPostTermsTitlesString()
S
64 3 9
getUserAvatarData()
S
59 2 14
processDBTransaction()
S
62 2 12
getAllWPActionKeys()
S
62 2 11
getTermBySlug()
S
62 2 11
getCurrentQueryVars()
S
69 2 7
getCategoryData()
S
69 2 7
getUrlEditPost()
S
68 2 7
addTermsLevels()
S
63 2 10
getPostSingleTermsTitles()
S
68 2 7
printCurrentQuery()
S
64 2 10
setGlobalAuthorData()
S
70 2 6
getPostTypeTitle()
S
69 2 7
getObjAcfIntegrate()
S
73 2 5
getDBPlaceholders()
S
67 2 8
getPermalink()
S
70 2 6
getCategoriesByIDsShort()
S
63 2 10
getRolesShort()
S
64 2 9
getPostIDByPostName()
S
64 2 9
getProductCatImage()
S
67 2 7
getPostPageTemplate()
S
68 2 7
getPosts()
S
68 2 7
getDB()
S
73 2 5
cachePostMetaQueries()
S
73 2 5
getPostChildren()
S
65 2 9
getInstallPluginLink()
S
61 1 14
getArrTermSortBy()
S
60 1 12
a_______CUSTOM_FIELDS________()
S
98 1 1
registerWidget()
S
77 1 3
addWPScript()
S
80 1 3
addWPStyle()
S
80 1 3
addShortcode()
S
79 1 3
addMediaUploadIncludes()
S
73 1 5
isPostExistsByTitle()
S
74 1 4
getPostEditLink_editWithElementor()
S
72 1 5
insertPage()
S
71 1 5
a_______TAXANOMIES_______()
S
95 1 1
a_________POSTS_TYPES________()
S
95 1 1
a___________USER_DATA__________()
S
89 1 2
updatePageTemplateAttribute()
S
79 1 3
updatePostContent()
S
75 1 4
prefixDBTable()
S
73 1 5
updatePostOrdering()
S
71 1 6
getAttachmentPostAlt()
S
75 1 4
deletePostMetadata()
S
70 1 6
a________GENERAL_GETTERS________()
S
95 1 1
getAcfFieldsKeys()
S
72 1 5
getUserAvatarKeys()
S
68 1 8
getTagsHtmlList()
S
74 1 4
getImageDataByUrl()
S
64 1 10
a_________CATEGORIES_AND_TAGS___________()
S
95 1 1
getFeaturedImageID()
S
76 1 4
a___________MENU__________()
S
89 1 2
a__________POST_GETTERS__________()
S
95 1 1
a_________________QUERY_VARS_____________()
S
95 1 1
a_________TAXONOMY_LEVELS___________()
S
95 1 1
deletePost()
S
79 1 3
a__________ATTACHMENT________()
S
89 1 2
getTaxonomiesAssoc()
S
67 1 8
a___________OTHER_FUNCTIONS__________()
S
89 1 2
getArrSortDirection()
S
67 1 7
getCatIDByTitle()
S
75 1 4
isPostNameExists()
S
67 1 7
isCurrentUserHasPermissions()
S
76 1 4
a__________POST_ACTIONS_________()
S
89 1 2