SucuriScan C

Total Complexity 110
Dependencies 2
Dependents 35
Total lines 874
Lines of code 412
Logical lines of code 208
Comment lines 318
Methods 42
Properties 0

Methods 42

Method Rating Maintainability Complexity Lines of code
datetime()
A
50 9 27
humanTime()
A
46 7 38
iniGet()
S
51 7 28
getRemoteAddr()
S
54 7 21
throwException()
S
58 6 15
getIPInfo()
S
59 5 13
siteVersion()
S
54 4 20
getUsersForAPIKey()
S
58 4 16
isMultiList()
S
61 4 13
implode()
S
60 4 13
allowedHttpHeaders()
S
53 3 25
getHtaccessPath()
S
58 3 16
orderedHttpHeaders()
S
61 3 12
isValidCIDR()
S
65 3 9
varPrefix()
S
64 3 10
isBehindFirewall()
S
60 2 14
excerpt()
S
68 2 7
getSiteEmail()
S
69 2 7
getDomain()
S
67 2 7
getUserAgent()
S
70 2 6
dataStorePath()
S
63 2 10
fixPath()
S
71 2 5
getConfigPath()
S
68 2 7
adminURL()
S
71 2 6
noAdminInit()
S
71 2 6
isMultiSite()
S
78 2 3
isIISServer()
S
77 1 3
isNginxServer()
S
77 1 3
escape()
S
80 1 3
humanFileSize()
S
62 1 9
isValidEmail()
S
78 1 3
runAdminInit()
S
78 1 3
getRemoteAddrHeader()
S
79 1 3
isValidIP()
S
78 1 3
runScheduledTask()
S
70 1 7
getAdminUsers()
S
79 1 3
getUserByID()
S
79 1 3
hasSucuriClientIPHeader()
S
79 1 3
supportReverseProxy()
S
80 1 3
getTopLevelDomain()
S
79 1 3
secretKeyPattern()
S
81 1 3
fileVersion()
S
77 1 3