wfScanner D

Total Complexity 243
Dependencies 6
Dependents 13
Total lines 1,346
Lines of code 919
Logical lines of code 482
Comment lines 282
Methods 58
Properties 4

Methods 58

Method Rating Maintainability Complexity Lines of code
scheduleScans()
D
28
43 123
shouldRunQuickScan()
B
39 18 59
_scanJobsForStage()
B
38 16 85
completeStage()
A
48 11 31
scanTypeStatusList()
A
44 9 46
_defaultStageStatuses()
S
50 7 28
jobs()
S
46 6 38
displayScanType()
S
59 6 15
displayScanTypeDetail()
S
60 6 14
scanOptions()
S
62 6 14
startStage()
S
58 6 14
customSchedule()
S
60 6 12
scanType()
S
65 6 11
isValidScanType()
S
64 6 11
scanTypeStatus()
S
57 5 16
incrementSummaryItem()
S
61 5 12
reputationStatusList()
S
56 4 18
userScanSignatures()
S
57 4 16
reputationStatus()
S
63 5 10
stageStatus()
S
60 4 12
scheduleSingleScan()
S
62 3 11
nextScheduledScanTime()
S
63 3 11
_scanOptionWeights()
S
50 1 32
_inactiveScanOptions()
S
50 1 32
_maybeSaveSummaryItems()
S
68 3 7
setSummaryItem()
S
65 3 9
__construct()
S
67 3 8
_saveSummaryItems()
S
68 3 7
highSensitivityScanTypeOptions()
S
51 1 30
schedulingMode()
S
70 3 6
quickScanTypeOptions()
S
62 2 12
standardScanTypeOptions()
S
52 1 26
getSummaryItem()
S
69 2 7
_fetchSummaryItems()
S
71 2 6
unscheduleAllScans()
S
66 2 8
shared()
S
69 2 7
signatureMode()
S
73 2 6
setNeedsRescheduling()
S
68 2 7
_shouldForceUpdate()
S
72 2 6
resetStages()
S
70 2 6
limitedScanTypeOptions()
S
59 1 15
customScanTypeOptions()
S
64 2 9
_normalizedPercentageToDisplay()
S
70 2 6
isRunning()
S
74 2 4
resetSummaryItems()
S
61 1 13
_premiumScanOptions()
S
79 1 3
lastQuickScanTime()
S
79 1 3
recordLastScanTime()
S
79 1 3
lastScanTime()
S
80 1 3
manualSchedulingType()
S
79 1 3
isPremiumScan()
S
80 1 3
isEnabled()
S
80 1 3
flushSummaryItems()
S
82 1 3
manualSchedulingStartHour()
S
80 1 3
userExclusions()
S
72 1 5
scanOutsideWordPress()
S
76 1 4
useLowResourceScanning()
S
76 1 4
recordLastQuickScanTime()
S
79 1 3