Code Analysis: Domain Mapping System 1.7

Function Rating Maintainability Complexity Lines of code
DMS::saveMapping()
D
13
78 272
DMS::catchQueriedObject()
D
31 43 90
DMS::run()
C
36 32 73
DMS::forceRedirect()
C
37 29 63
DMS::getDMSOptions()
C
33 24 96
DMS::rewriteNavMenuLink()
A
51 14 23
DMS::preGetPosts()
A
41 9 61
DMS_Activate::migrateToCustomTables()
A
45 10 43
DMS::prepareMappingInsert()
A
46 10 39
DMS::rewritePaginationLinks()
A
53 10 20
DMS::getRewrittenUrl()
A
53 9 21
DMS::rewriteTermLink()
A
56 9 16
DMS::saveConfig()
A
50 8 26
DMS::map()
A
47 7 40
DMS::getData()
S
51 7 25
DMS::prepareUriFilters()
S
38 2 96
DMS::postRewriteBack()
S
62 8 10
DMS::rewriteHomeUrl()
S
61 7 12
DMS::setCurrentDomain()
S
54 6 21
DMS_Activate::activate()
S
58 6 16
DMS::showAdminNotice()
S
52 5 31
DMS_Activate::migrateTo1point6()
S
61 6 13
DMS_Activate::createDMSMuHelper()
S
51 4 38
DMS::uninstall()
S
48 4 33
DMS::getObjectPermalinkPathByValue()
S
57 5 16
DMS::rewritePostLink()
S
64 6 9
DMS::rewritePostTypeLink()
S
64 6 9
DMS::rewritePageLink()
S
64 6 9
DMS::redirectTo()
S
64 6 8
DMS_Activate::activateDeactivatePlan()
S
61 5 11
DMS::isTaxonomyTerm()
S
63 5 9
DMS::rewriteImageSrcSet()
S
65 5 8
DMS::rewriteHeaderImageMarkup()
S
63 4 11
DMS_Activate::migrateToArrayOption()
S
58 3 16
DMS_Activate::createTables()
S
54 2 31
DMS::rewriteAdminUrlStatic()
S
62 4 10
DMS::rewriteAdminUrl()
S
69 4 6
DMS::preventHomeRedirect()
S
68 4 7
DMS::rewriteAttachmentSrc()
S
69 4 6
DMS_Activate::addConfigOptions()
S
61 3 12
DMS::rewriteTheContent()
S
64 3 11
dms_fs()
S
52 2 26
DMS::startSession()
S
73 3 5
DMS::checkVersion()
S
59 2 15
DMS::rewriteTemplateUri()
S
70 3 6
DMS::rewriteStylesheetUri()
S
70 3 6
DMS::replaceScriptStyleSrc()
S
70 3 6
DMS::getCustomPostTypes()
S
59 2 15
DMS::pluginsUrl()
S
64 3 10
DMS::removePagedOneQueryParam()
S
61 2 13
DMS::strReplaceOnce()
S
64 2 11
DMS::registerScripts()
S
54 1 24
DMS::registerStyles()
S
58 1 19
DMS::setBaseHttpHost()
S
72 2 5
DMS::getMappingValuesHighestOrder()
S
70 2 6
DMS::includeTemplate()
S
66 2 8
DMS_Activate::setVersion()
S
73 2 5
DMS_Activate::deleteDMSMuHelper()
S
71 2 6
DMS::getTaxonomyTermFromValue()
S
66 2 8
DMS::actualHostReplace()
S
67 2 7
DMS::getInstance()
S
71 2 6
DMS::replaceHostOccurrence()
S
63 2 10
DMS::getShopPageAssociation()
S
78 2 3
DMS::getPostsByTaxonomyTermId()
S
60 1 14
DMS::adminMenu()
S
61 1 13
DMS::activate()
S
64 1 11
DMS::adminInit()
S
74 1 5
DMS::defineProperties()
S
63 1 10
DMS::getMatchingHostByValue()
S
74 1 4
DMS_Activate::__construct()
S
71 1 6
DMS::getMatch()
S
64 1 10
DMS::getMatchingHostByPostName()
S
73 1 4
DMS_Activate::checkTablesExistence()
S
74 1 4
DMS::getMappingsCount()
S
75 1 4
DMS::__construct()
S
91 1 2
DMS::getMainMappingDomain()
S
75 1 4
DMS::hookAfterSavePost()
S
80 1 3
DMS::loadTextDomain()
S
74 1 4
DMS::checkHostExistence()
S
74 1 4
DMS::getMatchingHostByValuePermalinkPath()
S
74 1 4
DMS::replaceElementorPreviewUrl()
S
82 1 3
DMS::deactivate()
S
65 1 10
DMS::getAllWooProducts()
S
67 1 8
DMS::defineRewriteOption()
S
91 1 2
DMS::add_save_actions()
S
75 1 4
dms_fs_custom_icon()
S
80 1 3