AAM_Service_Content D

Total Complexity 192
Dependencies 15
Dependents 1
Total lines 1,486
Lines of code 734
Logical lines of code 376
Comment lines 523
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
_convertToPostStatements()
D
27
36 149
__mapPostTypeCaps()
A
46 14 38
initializeHooks()
A
41 9 52
_isHidden()
A
53 10 22
filterMetaMaps()
A
49 9 31
beforeDispatch()
A
52 9 21
checkPostRedirect()
A
45 7 44
__construct()
A
47 7 38
wp()
S
56 7 18
getQueryingPostType()
S
57 6 17
filterPages()
S
57 6 16
isAuthorizedToReadPost()
S
52 5 25
generatePolicy()
S
54 5 20
preparePostQuery()
S
55 5 17
getNavigationMenu()
S
60 5 13
checkPostPassword()
S
52 4 27
authPostAccess()
S
52 4 24
checkPostLimitCounter()
S
57 4 16
filterPostContent()
S
58 4 15
filterPostQuery()
S
57 3 17
checkPostExpiration()
S
59 3 15
registerAccessPostMetabox()
S
59 2 16
isAuthorizedToEditPost()
S
66 3 8
incrementPostReadCounter()
S
67 3 7
isPasswordRequired()
S
65 3 9
checkPassExpiration()
S
67 3 7
checkPostReadAccess()
S
63 2 11
mapPublishPostCaps()
S
70 2 6
isAuthorizedToPublishPost()
S
70 2 6
mapEditPostCaps()
S
70 2 6
mapDeletePostCaps()
S
70 2 6
renderAccessTermMetabox()
S
73 2 5
mapReadPostCaps()
S
70 2 6
isAuthorizedToDeletePost()
S
70 2 6