SucuriScanAPI D

Total Complexity 175
Dependencies 5
Dependents 11
Total lines 1,415
Lines of code 826
Logical lines of code 431
Comment lines 364
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
parseAuditLogs()
B
31 19 110
filterByTime()
B
44 18 41
handleResponse()
B
42 17 49
apiCall()
B
41 16 52
getPlugins()
A
42 11 47
filterAuditLog()
A
49 11 31
getFilters()
A
31 1 150
getOfficialChecksums()
A
52 9 24
fetchVulnerabilityData()
S
49 7 30
getAuditLogsFromQueue()
S
49 5 31
getOriginalCoreFile()
S
54 5 21
registerSite()
S
54 4 21
getAuditLogs()
S
58 4 16
apiCallWordpress()
S
58 4 15
setPluginKey()
S
61 4 12
getNewSecretKeys()
S
61 4 11
getLogsHotfix()
S
58 3 15
getPluginVulnerabilities()
S
58 3 15
getWordPressCoreVulnerabilities()
S
58 3 15
getPHPVulnerabilities()
S
58 3 15
getThemeVulnerabilities()
S
58 3 15
recoverKey()
S
55 2 20
getPluginKey()
S
68 3 7
checksumAPI()
S
61 2 13
buildQuery()
S
66 2 8
getRemotePluginData()
S
73 2 4
checksum()
S
67 2 7
checksumAlgorithm()
S
77 2 3
sendHashes()
S
66 2 8
parseMultipleEntries()
S
68 2 7
isValidKey()
S
78 1 3
getAuditEventTypes()
S
64 1 10