Apache Commons logo Commons VFS

PMD Results

The following document contains the results of PMD 5.6.1.

Files

Apache Commons VFS - org/apache/commons/vfs2/VFS.java

Violation Line
Avoid empty catch blocks 6769

Apache Commons VFS - org/apache/commons/vfs2/impl/DefaultFileSystemManager.java

Violation Line
Useless parentheses. 781

Apache Commons VFS - org/apache/commons/vfs2/provider/AbstractFileObject.java

Violation Line
Ternary operators that can be simplified with || or && 1434
Ternary operators that can be simplified with || or && 1477
Ternary operators that can be simplified with || or && 1492
Ternary operators that can be simplified with || or && 1741
Ternary operators that can be simplified with || or && 1761
Ternary operators that can be simplified with || or && 1772

Apache Commons VFS - org/apache/commons/vfs2/provider/AbstractFileSystem.java

Violation Line
Avoid unused private methods such as 'fireEvent(AbstractFileChangeEvent)'. 533

Apache Commons VFS - org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java

Violation Line
Avoid unused constructor parameters such as 'mode'. 30

Apache Commons VFS - org/apache/commons/vfs2/provider/UriParser.java

Violation Line
Useless parentheses. 231
Useless parentheses. 231
Useless parentheses. 235
Avoid using a branching statement as the last in a loop. 243

Apache Commons VFS - org/apache/commons/vfs2/provider/ftp/FtpClientFactory.java

Violation Line
These nested if statements could be combined 186189

Apache Commons VFS - org/apache/commons/vfs2/provider/hdfs/HdfsFileSystemConfigBuilder.java

Violation Line
Avoid empty catch blocks 176178

Apache Commons VFS - org/apache/commons/vfs2/provider/jar/JarFileSystem.java

Violation Line
Overriding method merely calls super 158161

Apache Commons VFS - org/apache/commons/vfs2/provider/local/LocalFileName.java

Violation Line
Avoid empty catch blocks 8789
Avoid empty catch blocks 111113

Apache Commons VFS - org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java

Violation Line
Avoid unused constructor parameters such as 'mode'. 74

Apache Commons VFS - org/apache/commons/vfs2/provider/ram/RamFileSystem.java

Violation Line
Avoid empty catch blocks 242244

Apache Commons VFS - org/apache/commons/vfs2/provider/sftp/SftpFileObject.java

Violation Line
Ternary operators that can be simplified with || or && 259
Avoid empty finally blocks 481483

Apache Commons VFS - org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java

Violation Line
Avoid empty catch blocks 288290

Apache Commons VFS - org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java

Violation Line
Useless parentheses. 556557

Apache Commons VFS - org/apache/commons/vfs2/provider/tar/TarFileSystem.java

Violation Line
Avoid empty while statements 125126

Apache Commons VFS - org/apache/commons/vfs2/provider/webdav/ExceptionConverter.java

Violation Line
These nested if statements could be combined 4966

Apache Commons VFS - org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java

Violation Line
Avoid empty catch blocks 141143
Avoid empty catch blocks 159161
Avoid empty catch blocks 170172
Avoid empty catch blocks 186188

Apache Commons VFS - org/apache/commons/vfs2/provider/webdav/WebdavFileSystem.java

Violation Line
Overriding method merely calls super 4346

Apache Commons VFS - org/apache/commons/vfs2/tasks/DeleteTask.java

Violation Line
Useless parentheses. 69
Useless parentheses. 69

Apache Commons VFS - org/apache/commons/vfs2/util/CombinedResources.java

Violation Line
Avoid empty catch blocks 8486
Avoid empty catch blocks 8890

Apache Commons VFS - org/apache/commons/vfs2/util/PosixPermissions.java

Violation Line
Avoid modifiers which are implied by the context 3397
Do not start a literal by 0 unless its an octal value 37
Do not start a literal by 0 unless its an octal value 42
Do not start a literal by 0 unless its an octal value 47
Do not start a literal by 0 unless its an octal value 52
Do not start a literal by 0 unless its an octal value 57
Do not start a literal by 0 unless its an octal value 62
Do not start a literal by 0 unless its an octal value 67
Do not start a literal by 0 unless its an octal value 72
Do not start a literal by 0 unless its an octal value 77