DMS D

Total Complexity 283
Dependencies 4
Dependents 1
Total lines 2,046
Lines of code 1,053
Logical lines of code 546
Comment lines 685
Methods 54
Properties 15

Methods 54

Method Rating Maintainability Complexity Lines of code
saveMapping()
D
17
63 226
run()
C
36 32 69
catchQueriedObject()
C
37 31 64
forceRedirect()
B
40 24 55
getDMSOptions()
B
37 16 79
getData()
S
51 7 25
setCurrentDomain()
S
58 7 15
saveConfig()
S
53 6 21
showAdminNotice()
S
52 5 31
map()
S
55 5 22
uninstall()
S
48 4 33
getObjectPermalinkPathByValue()
S
56 5 17
prepareUriFilters()
S
44 2 59
redirectTo()
S
66 5 7
rewriteImageSrcSet()
S
65 4 8
rewriteAdminUrlStatic()
S
62 4 10
rewriteHeaderImageMarkup()
S
63 3 11
loadArchive()
S
59 2 15
pluginsUrl()
S
64 3 10
getCustomPostTypes()
S
59 2 15
startSession()
S
73 3 5
preventHomeRedirect()
S
68 3 7
rewriteAdminUrl()
S
70 3 6
rewriteAttachmentSrc()
S
69 3 6
checkVersion()
S
59 2 15
rewriteTheContent()
S
64 2 11
strReplaceOnce()
S
64 2 11
registerScripts()
S
54 1 24
registerStyles()
S
58 1 19
rewriteTemplateUri()
S
71 2 6
replaceScriptStyleSrc()
S
71 2 6
replaceHostOccurrence()
S
63 2 10
rewriteStylesheetUri()
S
71 2 6
actualHostReplace()
S
67 2 7
setBaseHttpHost()
S
72 2 5
getInstance()
S
71 2 6
includeTemplate()
S
66 2 8
adminMenu()
S
61 1 13
activate()
S
64 1 11
adminInit()
S
74 1 5
defineProperties()
S
63 1 10
replaceElementorPreviewUrl()
S
82 1 3
loadTextDomain()
S
74 1 4
getMatch()
S
64 1 10
deactivate()
S
65 1 10
getMainMappingDomain()
S
75 1 4
add_save_actions()
S
75 1 4
getMatchingHostByPostName()
S
73 1 4
loadCategory()
S
69 1 7
getMatchingHostByValue()
S
74 1 4
checkHostExistence()
S
74 1 4
getMatchingHostByValuePermalinkPath()
S
74 1 4
getMappingsCount()
S
75 1 4
__construct()
S
91 1 2