AAM_Service_Content D

Total Complexity 196
Dependencies 16
Dependents 1
Total lines 1,530
Lines of code 754
Logical lines of code 387
Comment lines 542
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
_convertToPostStatements()
D
27
37 151
__mapPostTypeCaps()
A
46 14 38
initializeHooks()
A
41 9 53
checkPostRedirect()
A
43 9 52
_isHidden()
A
53 10 22
filterMetaMaps()
A
49 9 31
beforeDispatch()
A
52 9 21
__construct()
A
47 7 38
wp()
S
55 7 19
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
53 4 25
authPostAccess()
S
52 4 24
checkPostLimitCounter()
S
55 4 19
filterPostContent()
S
58 4 15
checkPostExpiration()
S
57 3 18
filterPostQuery()
S
57 3 17
checkPostReadAccess()
S
59 3 15
registerAccessPostMetabox()
S
59 2 16
incrementPostReadCounter()
S
67 3 7
isAuthorizedToEditPost()
S
66 3 8
isPasswordRequired()
S
65 3 9
checkPassExpiration()
S
67 3 7
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
mapPublishPostCaps()
S
70 2 6
isAuthorizedToDeletePost()
S
70 2 6