Net_SSH2 D

Total Complexity 640
Dependencies 8
Dependents 0
Total lines 4,944
Lines of code 2,694
Logical lines of code 1,674
Comment lines 1,581
Methods 90
Properties 84

Methods 90

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
3
100 522
_get_channel_packet()
D
19
60 210
_filter()
D
27
38 138
_login_helper()
D
26
35 164
getServerPublicHostKey()
D
28
30 132
_connect()
C
32 29 99
_encryption_algorithm_to_crypt_instance()
C
39 31 62
_keyboard_interactive_process()
C
35 24 87
_get_binary_packet()
C
36 24 71
exec()
C
33 21 113
_encryption_algorithm_to_key_size()
B
47 24 33
_privatekey_login()
B
35 15 95
setPreferredAlgorithms()
A
39 13 70
_initShell()
A
38 11 81
_append_log()
A
42 12 54
read()
A
47 12 33
__construct()
A
35 7 95
getSupportedEncryptionAlgorithms()
A
44 8 49
_send_binary_packet()
A
47 8 30
startSubsystem()
S
47 5 42
_close_channel()
S
55 6 19
_generate_identifier()
S
56 6 18
_login()
S
57 6 17
ping()
S
51 5 29
getLog()
S
59 5 14
_send_channel_packet()
S
52 4 26
_format_log()
S
53 4 20
_define_array()
S
62 4 12
_disconnect()
S
62 4 11
write()
S
63 4 11
_get_open_channel()
S
65 4 9
_bad_algorithm_candidate()
S
67 4 9
login()
S
62 3 11
_reconnect()
S
62 3 11
_keyboard_interactive_login()
S
57 2 20
_array_intersect_first()
S
68 3 8
_updateLogHistory()
S
65 3 9
_get_interactive_channel()
S
66 3 10
disconnect()
S
71 3 6
_ssh_agent_login()
S
64 3 10
getServerAlgorithms()
S
57 1 19
getAlgorithmsNegotiated()
S
59 1 17
getLastError()
S
71 2 6
_on_channel_open()
S
75 2 5
disablePTY()
S
70 2 7
getExitStatus()
S
73 2 6
setCryptoEngine()
S
82 1 3
getSupportedKEXAlgorithms()
S
68 1 9
getCompressionAlgorithmsClient2Server()
S
78 1 4
getCompressionAlgorithmsServer2Client()
S
78 1 4
setWindowSize()
S
77 1 4
getLanguagesServer2Client()
S
78 1 4
getLanguagesClient2Server()
S
78 1 4
setWindowRows()
S
82 1 3
setWindowColumns()
S
82 1 3
getWindowRows()
S
83 1 3
getBannerMessage()
S
83 1 3
getSupportedHostKeyAlgorithms()
S
70 1 8
sendIdentificationStringLast()
S
82 1 3
getSupportedMACAlgorithms()
S
68 1 9
getMACAlgorithmsClient2Server()
S
78 1 4
getSupportedCompressionAlgorithms()
S
77 1 5
getWindowColumns()
S
83 1 3
sendIdentificationStringFirst()
S
82 1 3
getMACAlgorithmsServer2Client()
S
78 1 4
isAuthenticated()
S
80 1 3
getEncryptionAlgorithmsServer2Client()
S
78 1 4
reset()
S
82 1 3
isConnected()
S
80 1 3
__destruct()
S
83 1 3
enableQuietMode()
S
82 1 3
disableQuietMode()
S
82 1 3
isQuietModeEnabled()
S
83 1 3
enablePTY()
S
82 1 3
Net_SSH2()
S
80 1 3
isPTYEnabled()
S
83 1 3
isTimeout()
S
83 1 3
stopSubsystem()
S
74 1 5
getEncryptionAlgorithmsClient2Server()
S
78 1 4
getStdError()
S
83 1 3
_string_shift()
S
73 1 5
setTimeout()
S
81 1 3
sendKEXINITLast()
S
82 1 3
_format_log_helper()
S
77 1 3
sendKEXINITFirst()
S
82 1 3
getErrors()
S
83 1 3
getServerIdentification()
S
78 1 4
_reset_connection()
S
64 1 10
getServerHostKeyAlgorithms()
S
78 1 4
getKexAlgorithms()
S
78 1 4