UmbrellaWebSocket A

Total Complexity 69
Dependencies 6
Dependents 3
Total lines 459
Lines of code 318
Logical lines of code 161
Comment lines 31
Methods 24
Properties 9

Methods 24

Method Rating Maintainability Complexity Lines of code
send()
A
44 8 44
secureRandomBytes()
A
50 9 27
connect()
S
45 6 43
writeFrame()
S
51 6 24
waitForAck()
S
62 5 11
decodeWebSocketPayloadToJson()
S
61 3 12
close()
S
67 3 9
buildHeaders()
S
54 1 21
sendError()
S
64 2 10
sendFileCursor()
S
65 2 9
sendScanCursor()
S
65 2 9
sendScanDirectoryCursor()
S
65 2 9
sendDatabaseDumpCursor()
S
65 2 9
sendFinish()
S
71 2 6
sendChecksum()
S
64 2 10
sendLog()
S
64 2 10
sendTelemetryCounter()
S
64 2 10
sendPreventMaxExecutionTime()
S
65 2 9
sendPreventDatabaseMaxExecutionTime()
S
65 2 9
sendFinishDictionary()
S
71 2 6
__construct()
S
62 1 10
readFrame()
S
75 1 4
readFrameJson()
S
76 1 4
__destruct()
S
82 1 3