HMWP_Classes_Tools D

Total Complexity 366
Dependencies 11
Dependents 24
Total lines 1,980
Lines of code 1,091
Logical lines of code 513
Comment lines 521
Methods 67
Properties 8

Methods 67

Method Rating Maintainability Complexity Lines of code
getOptions()
C
20
17 265
emptyCache()
C
37 29 66
isCachePlugin()
B
52 20 22
checkPluginsThemesUpdates()
A
47 16 31
updateDatabase()
A
47 15 33
checkAccountApi()
A
43 13 43
getValue()
A
50 11 26
isLitespeed()
A
56 9 17
doHideDisable()
A
57 9 16
getMaxMemory()
A
53 8 21
checkLicenseOnUpdate()
A
56 8 18
isContentHeader()
A
56 8 18
hmwp_remote_get()
A
55 8 17
userCan()
A
57 8 17
setCurrentUserRole()
S
58 8 15
doChangePaths()
S
60 8 13
__construct()
S
54 7 19
doHideURLs()
S
59 6 15
isFlywheel()
S
63 6 9
isIIS()
S
65 6 7
isThemeActive()
S
63 6 9
isNginx()
S
63 6 9
saveOptions()
S
59 5 14
checkRewriteUpdate()
S
60 5 13
isAWS()
S
61 5 12
isPHPPermalink()
S
65 5 8
getCustomLoginURL()
S
63 5 10
getCustomLogoutURL()
S
63 5 10
checkPluginsUpdate()
S
64 5 10
getRelativePath()
S
62 5 10
isMultisiteWithPath()
S
76 5 3
getRootPath()
S
64 5 9
getAllPlugins()
S
59 4 14
sendEmail()
S
49 3 29
setHeader()
S
62 4 13
isPluginActive()
S
61 4 12
hmwp_wpcall()
S
54 3 22
isInmotion()
S
68 4 6
getIsset()
S
69 4 6
isApache()
S
64 4 10
hmwp_activate()
S
65 4 8
movePluginFirst()
S
61 3 12
getSettingsUrl()
S
63 3 11
hmwp_localcall()
S
58 2 16
isGodaddy()
S
69 3 6
isWpengine()
S
69 3 6
getOption()
S
64 3 9
isAjax()
S
71 3 6
isModeRewrite()
S
65 3 9
getConfigFile()
S
64 3 10
hmwp_deactivate()
S
62 2 11
saveOptionsBackup()
S
72 2 5
hmwp_remote_post()
S
67 2 7
isLighthttp()
S
76 2 3
loadMultilanguage()
S
68 2 7
showNotices()
S
64 2 10
flushWPRewrites()
S
71 2 6
hookActionlink()
S
70 1 5
setContentType()
S
81 1 3
isMultisites()
S
80 1 3
getUserRole()
S
80 1 3
getAllThemes()
S
80 1 3
getCloudUrl()
S
79 1 3
cleanResponce()
S
79 1 3
generateRandomString()
S
76 1 3
isWindows()
S
77 1 3
initFilesystem()
S
80 1 3