UniteFunctionsWPUC D

Total Complexity 585
Dependencies 13
Dependents 31
Total lines 3,980
Lines of code 2,114
Logical lines of code 1,597
Comment lines 553
Methods 153
Properties 15

Methods 153

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