wfScanEngine D

Total Complexity 624
Dependencies 38
Dependents 7
Total lines 2,817
Lines of code 2,364
Logical lines of code 1,387
Comment lines 252
Methods 81
Properties 35

Methods 81

Method Rating Maintainability Complexity Lines of code
scan_oldVersions_finish()
D
7
118 295
startScan()
C
31 23 116
scan_checkGSB_finish()
C
33 23 92
scan_suspiciousOptions()
C
32 23 91
scan_suspiciousAdminUsers()
B
38 23 59
scan_posts_finish()
B
32 20 98
scan_comments_finish()
B
34 20 87
scan_checkHowGetIPs_main()
B
40 21 53
_scannedSkippedPaths()
B
35 19 80
scan_fileContents_finish()
B
44 18 38
scan_checkReadableConfig()
A
37 12 70
doScan()
A
37 11 76
scan_checkSkippedFiles()
A
41 12 54
scan_diskSpace()
A
43 12 46
scanUserPassword()
A
39 11 59
getMaxExecutionTime()
A
47 12 37
scan_suspectedFiles()
A
46 11 37
refreshScanNotification()
A
47 11 33
isBadComment()
A
46 10 37
go()
A
40 8 67
scan_checkSpamvertized()
A
50 10 25
scan_oldVersions_main()
A
41 7 57
scan_checkSpamIP()
A
50 9 25
scan_geoipSupport()
A
51 9 21
submitMetrics()
A
49 8 31
scan_wpscan_fullPathDisclosure()
A
50 8 27
scan_wafStatus()
A
51 8 24
scan_wpscan_directoryListingEnabled()
S
51 7 25
scan_posts_main()
S
43 5 45
getThemes()
S
50 6 28
getPlugins()
S
50 6 28
checkForDurationLimit()
S
45 5 42
scan_passwds_main()
S
51 6 26
scan_oldVersions_init()
S
52 6 24
scan_checkGSB_main()
S
53 6 23
scan_passwds_init()
S
49 5 29
__construct()
S
50 5 26
scan_fileContents_init()
S
55 5 19
getBlogsToScan()
S
51 4 26
scan_comments_main()
S
52 4 21
recordMetric()
S
62 4 13
isEditor()
S
66 4 8
highestCap()
S
65 4 8
shouldFork()
S
60 3 15
isDirectoryListingEnabled()
S
63 4 9
scan_comments_init()
S
57 3 15
scan_posts_init()
S
58 3 14
testForFullPathDisclosure()
S
63 3 9
_remoteStartURL()
S
65 3 7
checkForKill()
S
66 3 7
scan_fileContents_main()
S
70 3 6
scan_knownFiles_init()
S
58 2 14
scan_checkGSB_init()
S
62 2 11
forkIfNeeded()
S
64 2 10
getKnownFilesLoader()
S
70 2 6
_baseStartURL()
S
70 2 5
verifyStartSignature()
S
64 2 9
checkForCoreVersionChange()
S
66 2 8
isScanRunning()
S
72 2 6
fork()
S
64 2 9
emailNewIssues()
S
73 2 5
__sleep()
S
73 1 3
scanController()
S
82 1 3
scan_knownFiles_finish()
S
91 1 2
deleteNewIssues()
S
81 1 3
processResponse()
S
82 1 3
_signStartURL()
S
74 1 4
scan_knownFiles_main()
S
73 1 5
_localStartURL()
S
74 1 4
scan_passwds_finish()
S
75 1 4
scan_checkHowGetIPs_finish()
S
91 1 2
__wakeup()
S
67 1 7
scan_checkHowGetIPs_init()
S
69 1 6
requestKill()
S
75 1 4
getPendingIssues()
S
79 1 3
getPendingIssueCount()
S
81 1 3
getCurrentJob()
S
80 1 3
addIssue()
S
74 1 4
status()
S
79 1 3
isFullScan()
S
80 1 3
addPendingIssue()
S
74 1 4