WPStaging\Framework\Filesystem\Filesystem D

Total Complexity 153
Dependencies 14
Dependents 21
Total lines 942
Lines of code 475
Logical lines of code 293
Comment lines 283
Methods 40
Properties 9

Methods 40

Method Rating Maintainability Complexity Lines of code
delete()
C
36 26 78
move()
B
43 18 47
copy()
A
44 14 45
deleteItem()
A
51 9 30
fnmatch()
A
49 8 29
isReadableFile()
S
55 7 20
create()
S
55 7 20
deletePaths()
S
58 6 15
mkdir()
S
53 5 22
findFilesInDir()
S
58 4 15
isFilenameExcluded()
S
62 4 12
normalizePath()
S
61 4 12
maybeNormalizePath()
S
69 4 6
renameDirect()
S
62 3 11
trailingSlashit()
S
65 3 9
getFileNames()
S
80 2 3
removeSymlink()
S
71 2 6
log()
S
69 2 7
findPath()
S
80 2 3
isEmptyDir()
S
69 2 7
safePath()
S
65 2 9
setProcessedCount()
S
81 1 3
tmpDestinationPath()
S
69 1 7
handleMkdirError()
S
79 1 3
getProcessedCount()
S
82 1 3
createWithMarkers()
S
78 1 3
__construct()
S
76 1 4
setDepth()
S
77 1 4
setLogger()
S
77 1 4
addFileName()
S
76 1 4
setFileNames()
S
77 1 4
getLogs()
S
82 1 3
getDepth()
S
82 1 3
setShouldStop()
S
77 1 4
getShouldStop()
S
82 1 3
setPath()
S
77 1 4
getPath()
S
82 1 3
shouldPermissionExceptionsBypass()
S
77 1 4
arePermissionExceptionsBypassed()
S
82 1 3
isWindowsOs()
S
81 1 3