PMD Results

The following document contains the results of PMD 4.2.2.

Files

org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java

Violation Line
These nested if statements could be combined 99 - 102

org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java

Violation Line
Avoid empty while statements 133 - 135
These nested if statements could be combined 241 - 243

org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java

Violation Line
These nested if statements could be combined 268 - 270

org/apache/commons/compress/archivers/cpio/CpioConstants.java

Violation Line
Do not start a literal by 0 unless it's an octal value 38
Do not start a literal by 0 unless it's an octal value 65
Do not start a literal by 0 unless it's an octal value 71
Do not start a literal by 0 unless it's an octal value 74
Do not start a literal by 0 unless it's an octal value 77
Do not start a literal by 0 unless it's an octal value 80
Do not start a literal by 0 unless it's an octal value 83
Do not start a literal by 0 unless it's an octal value 86
Do not start a literal by 0 unless it's an octal value 89
Do not start a literal by 0 unless it's an octal value 92
Do not start a literal by 0 unless it's an octal value 96
Do not start a literal by 0 unless it's an octal value 99
Do not start a literal by 0 unless it's an octal value 102
Do not start a literal by 0 unless it's an octal value 106
Do not start a literal by 0 unless it's an octal value 109
Do not start a literal by 0 unless it's an octal value 112
Do not start a literal by 0 unless it's an octal value 116
Do not start a literal by 0 unless it's an octal value 119
Do not start a literal by 0 unless it's an octal value 122
Do not start a literal by 0 unless it's an octal value 126
Do not start a literal by 0 unless it's an octal value 129
Do not start a literal by 0 unless it's an octal value 132

org/apache/commons/compress/archivers/jar/JarArchiveEntry.java

Violation Line
Overriding method merely calls super 72 - 74
Overriding method merely calls super 79 - 81

org/apache/commons/compress/archivers/tar/TarArchiveEntry.java

Violation Line
Do not start a literal by 0 unless it's an octal value 133
Do not start a literal by 0 unless it's an octal value 136

org/apache/commons/compress/archivers/tar/TarBuffer.java

Violation Line
These nested if statements could be combined 177 - 179
These nested if statements could be combined 200 - 202
Avoid empty if statements 267 - 269
These nested if statements could be combined 407 - 411

org/apache/commons/compress/archivers/tar/TarConstants.java

Violation Line
Do not start a literal by 0 unless it's an octal value 61

org/apache/commons/compress/archivers/zip/UnixStat.java

Violation Line
Do not start a literal by 0 unless it's an octal value 29
Do not start a literal by 0 unless it's an octal value 33
Do not start a literal by 0 unless it's an octal value 37
Do not start a literal by 0 unless it's an octal value 41
Do not start a literal by 0 unless it's an octal value 51
Do not start a literal by 0 unless it's an octal value 56
Do not start a literal by 0 unless it's an octal value 61

org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java

Violation Line
Do not start a literal by 0 unless it's an octal value 153

org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java

Violation Line
Avoid empty catch blocks 257 - 259
These nested if statements could be combined 515 - 532

org/apache/commons/compress/archivers/zip/ZipFile.java

Violation Line
Avoid empty catch blocks 188 - 190
Avoid empty catch blocks 221 - 223

org/apache/commons/compress/changes/ChangeSetPerformer.java

Violation Line
These nested if statements could be combined 100 - 104
These nested if statements could be combined 109 - 112

org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java

Violation Line
Unnecessary final modifier in final class 952 - 964

org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java

Violation Line
Avoid unused method parameters such as 'nSelectors'. 1127 - 1172
Avoid modifying an outer loop incrementer in an inner loop for update expression 1220 - 1361