HMWP_Classes_Tools D

Total Complexity 470
Dependencies 12
Dependents 46
Total lines 2,485
Lines of code 1,410
Logical lines of code 675
Comment lines 622
Methods 78
Properties 8

Methods 78

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