wfScanEngine D

Total Complexity 626
Dependencies 38
Dependents 7
Total lines 2,808
Lines of code 2,346
Logical lines of code 1,374
Comment lines 248
Methods 85
Properties 35

Methods 85

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