wfScanEngine D

Total Complexity 587
Dependencies 36
Dependents 6
Total lines 2,689
Lines of code 2,261
Logical lines of code 1,315
Comment lines 226
Methods 80
Properties 34

Methods 80

Method Rating Maintainability Complexity Lines of code
scan_oldVersions_finish()
D
15
82 221
startScan()
C
31 23 117
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 69
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
42 8 61
scan_checkSpamvertized()
A
50 10 25
scan_checkSpamIP()
A
50 9 25
scan_geoipSupport()
A
51 9 21
submitMetrics()
A
49 8 31
scan_passwds_init()
A
48 8 29
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
scan_oldVersions_main()
S
45 5 43
getPlugins()
S
50 6 28
getThemes()
S
50 6 28
checkForDurationLimit()
S
45 5 42
scan_passwds_main()
S
51 6 26
scan_checkGSB_main()
S
53 6 23
scan_oldVersions_init()
S
54 6 21
__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
isDirectoryListingEnabled()
S
63 4 9
shouldFork()
S
60 3 15
scan_comments_init()
S
57 3 15
highestCap()
S
65 4 8
isEditor()
S
66 4 8
scan_posts_init()
S
58 3 14
_remoteStartURL()
S
65 3 7
checkForKill()
S
66 3 7
testForFullPathDisclosure()
S
63 3 9
scan_fileContents_main()
S
70 3 6
scan_knownFiles_init()
S
58 2 14
scan_checkGSB_init()
S
62 2 11
verifyStartSignature()
S
64 2 9
getKnownFilesLoader()
S
70 2 6
checkForCoreVersionChange()
S
66 2 8
_baseStartURL()
S
70 2 5
forkIfNeeded()
S
64 2 10
fork()
S
64 2 9
emailNewIssues()
S
73 2 5
scanController()
S
82 1 3
deleteNewIssues()
S
81 1 3
processResponse()
S
82 1 3
_signStartURL()
S
74 1 4
__sleep()
S
73 1 3
_localStartURL()
S
74 1 4
scan_checkHowGetIPs_finish()
S
91 1 2
getPendingIssues()
S
79 1 3
__wakeup()
S
67 1 7
scan_knownFiles_finish()
S
91 1 2
requestKill()
S
75 1 4
scan_passwds_finish()
S
75 1 4
getPendingIssueCount()
S
81 1 3
addPendingIssue()
S
74 1 4
addIssue()
S
74 1 4
status()
S
79 1 3
scan_knownFiles_main()
S
73 1 5
getCurrentJob()
S
80 1 3
scan_checkHowGetIPs_init()
S
69 1 6
isFullScan()
S
80 1 3