wfDiagnostic D

Total Complexity 265
Dependencies 16
Dependents 1
Total lines 1,043
Lines of code 919
Logical lines of code 357
Comment lines 40
Methods 62
Properties 3

Methods 62

Method Rating Maintainability Complexity Lines of code
getWordpressValues()
D
28
67 67
connectToSelf()
A
42 13 43
__construct()
A
31 6 117
isWAFWritable()
A
49 10 30
isWAFReadable()
A
49 10 30
_connectToServer()
A
48 10 30
processOwner()
A
46 9 43
connectToSelfIpv6()
A
46 8 38
cronStatus()
S
57 7 14
wafFilePermissions()
S
53 6 20
ntpStatus()
S
51 5 29
howGetIPs()
S
52 5 27
_detectBlockedByCloudflare()
S
55 5 20
wafAutoPrependHtaccessOther()
S
56 5 16
wafAutoPrependUserIniOther()
S
56 5 16
timeSourceInUse()
S
52 4 29
ntpTimeOffset()
S
53 4 23
wfTime()
S
54 4 21
wafRecentlyRemoved()
S
55 4 17
wafAutoPrependHtaccess()
S
56 4 16
wafAutoPrependUserIni()
S
57 4 16
displayErrors()
S
60 4 12
openSSLVersion()
S
62 4 10
wpTimeZone()
S
61 3 12
getStorageEngineDescription()
S
63 3 11
wafLogPath()
S
62 3 10
wafSubdirectoryInstall()
S
75 3 3
wafLoaded()
S
65 3 8
wafAutoPrepend()
S
75 3 3
curlFeatures()
S
62 2 11
curlHost()
S
63 2 11
curlProtocols()
S
62 2 11
curlLibZVersion()
S
63 2 11
curlSSLVersion()
S
63 2 11
hasCurl()
S
63 2 10
wfTimeOffset()
S
65 2 8
wafAutoPrependFilePath()
S
68 2 7
geoIPError()
S
73 2 4
wafStorageEngine()
S
76 2 3
userCanTruncate()
S
79 2 3
configWritableSetSer()
S
61 1 12
configWritableSet()
S
61 1 12
_filterOutNestedEntries()
S
80 1 3
serverIP()
S
67 1 8
isPluginReadable()
S
80 1 3
isPluginWritable()
S
80 1 3
databaseVersion()
S
72 1 5
userCanInsert()
S
81 1 3
userCanUpdate()
S
81 1 3
serverTime()
S
68 1 7
userCanDelete()
S
81 1 3
wfVersion()
S
77 1 3
userCanSelect()
S
81 1 3
userCanCreate()
S
81 1 3
hasOpenSSL()
S
80 1 3
userCanDrop()
S
81 1 3
connectToServer2()
S
80 1 3
userCanAlter()
S
81 1 3
phpVersion()
S
70 1 6
wafActiveStorageEngine()
S
77 1 3
getResults()
S
82 1 3
geoIPVersion()
S
78 1 3