Net_SFTP D

Total Complexity 610
Dependencies 0
Dependents 2
Total lines 3,829
Lines of code 2,173
Logical lines of code 1,418
Comment lines 1,223
Methods 82
Properties 27

Methods 82

Method Rating Maintainability Complexity Lines of code
_parseAttributes()
D
21
62 202
put()
D
24
48 162
get()
D
29
35 124
_list()
C
32 29 96
_comparator()
C
41 27 52
_get_sftp_packet()
C
34 23 88
_realpath()
B
38 21 68
_partial_init_sftp_connection()
B
36 17 92
_init_sftp_connection()
B
41 18 55
_setstat_recursive()
B
42 17 53
_delete_recursive()
A
43 15 49
lstat()
A
44 15 46
stat()
A
46 14 40
rawlist()
A
47 12 33
_update_stat_cache()
A
49 12 29
delete()
A
46 11 39
__construct()
A
30 4 139
touch()
A
44 10 47
chdir()
A
47 10 36
_nlist_helper()
A
51 10 26
_parseMode()
A
53 10 24
_setstat()
A
47 9 36
rename()
A
48 9 33
readlink()
A
49 8 32
symlink()
A
48 8 32
chmod()
A
49 8 30
filetype()
A
54 8 22
rmdir()
S
51 7 27
_send_sftp_packet()
S
48 6 32
_get_xstat_cache_prop()
S
57 7 17
_mkdir_helper()
S
53 6 22
is_writable()
S
55 5 20
is_readable()
S
55 5 20
mkdir()
S
54 5 20
_close_handle()
S
55 5 19
_read_put_responses()
S
56 5 18
_remove_from_stat_cache()
S
56 5 18
_parseLongname()
S
59 5 15
_stat()
S
58 4 16
_logError()
S
58 4 15
_query_stat_cache()
S
59 4 14
setListOrder()
S
59 4 14
file_exists()
S
61 4 13
getSupportedVersions()
S
61 4 13
_parseTime()
S
60 3 12
getSFTPLog()
S
62 3 12
size()
S
68 3 7
_precheck()
S
66 3 9
chown()
S
68 2 6
chgrp()
S
68 2 6
getNegotiatedVersion()
S
72 2 6
pwd()
S
72 2 6
is_link()
S
69 2 7
is_file()
S
69 2 7
is_dir()
S
69 2 7
realpath()
S
72 2 6
getLastSFTPError()
S
78 2 3
_disconnect()
S
77 1 4
_reset_connection()
S
69 1 7
setPreferredVersion()
S
82 1 3
enableDatePreservation()
S
82 1 3
disableStatCache()
S
82 1 3
enableStatCache()
S
82 1 3
getSFTPErrors()
S
83 1 3
fileatime()
S
80 1 3
clearStatCache()
S
82 1 3
is_writeable()
S
81 1 3
truncate()
S
74 1 4
nlist()
S
79 1 3
Net_SFTP()
S
80 1 3
disableArbitraryLengthPackets()
S
82 1 3
enableArbitraryLengthPackets()
S
82 1 3
disablePathCanonicalization()
S
82 1 3
filemtime()
S
80 1 3
_get_lstat_cache_prop()
S
79 1 3
fileperms()
S
80 1 3
fileowner()
S
80 1 3
filegroup()
S
80 1 3
filesize()
S
80 1 3
enablePathCanonicalization()
S
82 1 3
_get_stat_cache_prop()
S
79 1 3
disableDatePreservation()
S
82 1 3