HMWP_Classes_Tools D

Total Complexity 484
Dependencies 10
Dependents 55
Total lines 2,574
Lines of code 1,453
Logical lines of code 703
Comment lines 710
Methods 80
Properties 7

Methods 80

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