DMS D

Total Complexity 272
Dependencies 4
Dependents 1
Total lines 1,938
Lines of code 999
Logical lines of code 524
Comment lines 654
Methods 51
Properties 14

Methods 51

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 56
getDMSOptions()
B
37 16 79
getData()
S
51 7 25
saveConfig()
S
53 6 21
showAdminNotice()
S
52 5 31
setCurrentDomain()
S
59 6 13
map()
S
55 5 22
getObjectPermalinkPathByValue()
S
56 5 17
prepareUriFilters()
S
44 2 59
uninstall()
S
51 4 26
redirectTo()
S
66 5 7
rewriteImageSrcSet()
S
65 4 8
preventHomeRedirect()
S
68 3 7
getCustomPostTypes()
S
59 2 15
loadArchive()
S
59 2 15
startSession()
S
73 3 5
rewriteHeaderImageMarkup()
S
69 3 6
rewriteAdminUrl()
S
70 3 6
rewriteAttachmentSrc()
S
69 3 6
checkVersion()
S
60 2 14
strReplaceOnce()
S
64 2 11
registerScripts()
S
54 1 24
registerStyles()
S
58 1 19
rewriteStylesheetUri()
S
71 2 6
replaceScriptStyleSrc()
S
71 2 6
includeTemplate()
S
66 2 8
rewriteTheContent()
S
70 2 6
getInstance()
S
71 2 6
rewriteTemplateUri()
S
71 2 6
actualHostReplace()
S
67 2 7
adminMenu()
S
61 1 13
replaceElementorPreviewUrl()
S
82 1 3
replaceHostOccurrence()
S
65 1 9
__construct()
S
91 1 2
checkHostExistence()
S
74 1 4
getMappingsCount()
S
75 1 4
getMainMappingDomain()
S
75 1 4
getMatchingHostByPostName()
S
73 1 4
getMatchingHostByValuePermalinkPath()
S
74 1 4
getMatchingHostByValue()
S
74 1 4
add_save_actions()
S
75 1 4
adminInit()
S
74 1 5
deactivate()
S
89 1 2
activate()
S
65 1 10
getMatch()
S
64 1 10
loadTextDomain()
S
74 1 4
defineProperties()
S
63 1 10
loadCategory()
S
69 1 7