wfDiagnostic D

Total Complexity 319
Dependencies 18
Dependents 1
Total lines 1,190
Lines of code 1,058
Logical lines of code 372
Comment lines 59
Methods 65
Properties 2

Methods 65

Method Rating Maintainability Complexity Lines of code
getWordpressValues()
D
28
67 67
getWordfenceValues()
D
25
45 117
connectToSelf()
A
42 13 43
__construct()
A
31 6 119
_connectToServer()
A
48 10 30
isWAFReadable()
A
49 10 30
isWAFWritable()
A
49 10 30
processOwner()
A
46 9 43
connectToSelfIpv6()
A
46 8 38
cronStatus()
S
57 7 14
getWordfenceCentralValues()
S
59 7 11
wafFilePermissions()
S
53 6 20
ntpStatus()
S
51 5 29
howGetIPs()
S
52 5 27
_detectBlockedByCloudflare()
S
55 5 20
wafAutoPrependUserIniOther()
S
56 5 16
wafAutoPrependHtaccessOther()
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
wafSubdirectoryInstall()
S
75 3 3
wafLoaded()
S
65 3 8
wafLogPath()
S
62 3 10
wafAutoPrepend()
S
75 3 3
hasCurl()
S
61 2 11
curlLibZVersion()
S
63 2 11
curlSSLVersion()
S
63 2 11
curlProtocols()
S
62 2 11
curlHost()
S
63 2 11
curlFeatures()
S
62 2 11
geoIPError()
S
73 2 4
wafAutoPrependPathOverride()
S
67 2 7
wfTimeOffset()
S
65 2 8
userCanTruncate()
S
79 2 3
wafAutoPrependFilePath()
S
68 2 7
wafStorageEngine()
S
76 2 3
configWritableSet()
S
61 1 12
configWritableSetSer()
S
61 1 12
geoIPVersion()
S
78 1 3
serverTime()
S
68 1 7
wfVersion()
S
77 1 3
serverIP()
S
67 1 8
userCanInsert()
S
81 1 3
isPluginReadable()
S
80 1 3
isPluginWritable()
S
80 1 3
connectToServer2()
S
80 1 3
hasOpenSSL()
S
80 1 3
userCanUpdate()
S
81 1 3
_filterOutNestedEntries()
S
80 1 3
getResults()
S
82 1 3
wafActiveStorageEngine()
S
77 1 3
phpVersion()
S
68 1 7
userCanAlter()
S
81 1 3
userCanDrop()
S
81 1 3
userCanCreate()
S
81 1 3
userCanSelect()
S
81 1 3
userCanDelete()
S
81 1 3
databaseVersion()
S
72 1 5