PMD Results
The following document contains the results of PMD 4.2.5.
Files
com/tonicsystems/jarjar/DepFind.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.zip.ZipEntry' | 22 |
Avoid unused imports such as 'org.objectweb.asm.ClassVisitor' | 24 |
com/tonicsystems/jarjar/DepFindVisitor.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.zip.ZipEntry' | 22 |
Avoid unused imports such as 'java.util.zip.ZipFile' | 23 |
Avoid duplicate imports such as 'org.objectweb.asm.Type' | 25 |
Avoid unused imports such as 'org.objectweb.asm.Type' | 25 |
com/tonicsystems/jarjar/JarJarTask.java
Violation | Line |
---|
Avoid unused imports such as 'java.io.File' | 20 |
com/tonicsystems/jarjar/KeepProcessor.java
Violation | Line |
---|
Avoid duplicate imports such as 'org.objectweb.asm.Type' | 23 |
Avoid unused imports such as 'org.objectweb.asm.Type' | 23 |
Avoid unused private fields such as 'buf'. | 60 |
com/tonicsystems/jarjar/Main.java
Violation | Line |
---|
Avoid unused private fields such as 'verbose'. | 45 |
Avoid unused private fields such as 'patterns'. | 46 |
Avoid unused private fields such as 'level'. | 47 |
com/tonicsystems/jarjar/util/ClassHeaderReader.java
Violation | Line |
---|
Avoid empty catch blocks | 63 - 65 |
com/tonicsystems/jarjar/util/EntryStruct.java
Violation | Line |
---|
Avoid unused imports such as 'java.io.InputStream' | 19 |
Avoid unused imports such as 'java.io.File' | 20 |
com/tonicsystems/jarjar/util/StandaloneJarProcessor.java
Violation | Line |
---|
Avoid duplicate imports such as 'java.util.Enumeration' | 22 |
Avoid empty if statements | 55 - 57 |
Avoid empty catch blocks | 67 |
Avoid empty catch blocks | 70 |