The following document contains the results of PMD 3.9.
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 448 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.provider.ScmProvider' | 23 |
Violation | Line |
---|---|
Avoid empty catch blocks | 90 - 93 |
These nested if statements could be combined | 101 - 104 |
Violation | Line |
---|---|
Avoid unused local variables such as 'delimiter'. | 154 |
Violation | Line |
---|---|
Avoid empty catch blocks | 75 - 78 |
Violation | Line |
---|---|
Avoid empty catch blocks | 63 - 66 |
Violation | Line |
---|---|
Avoid empty catch blocks | 85 - 89 |
Violation | Line |
---|---|
Avoid empty catch blocks | 213 - 216 |
Violation | Line |
---|---|
These nested if statements could be combined | 65 - 68 |
Violation | Line |
---|---|
Avoid empty if statements | 169 - 171 |
Violation | Line |
---|---|
Avoid empty if statements | 109 - 111 |
Violation | Line |
---|---|
Avoid empty catch blocks | 175 - 178 |
Avoid empty if statements | 229 - 231 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.provider.clearcase.util.ClearCaseUtil' | 30 |
Avoid unused imports such as 'org.apache.maven.scm.providers.clearcase.settings.Settings' | 31 |
Violation | Line |
---|---|
Avoid empty catch blocks | 184 - 187 |
These nested if statements could be combined | 267 - 271 |
Violation | Line |
---|---|
Avoid unused private fields such as 'logger'. | 36 |
Violation | Line |
---|---|
Avoid empty catch blocks | 61 - 63 |
Avoid empty catch blocks | 64 - 66 |
Violation | Line |
---|---|
These nested if statements could be combined | 66 - 69 |
Violation | Line |
---|---|
Avoid unused private fields such as 'currentTag'. | 70 |
Violation | Line |
---|---|
Avoid unused private fields such as 'workingDirectory'. | 74 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.command.add.AddScmResult' | 23 |
Avoid unused imports such as 'org.apache.maven.scm.command.list.ListScmResult' | 26 |
Avoid unused imports such as 'org.apache.maven.scm.provider.hg.command.inventory.HgListCommand' | 32 |
Avoid unused imports such as 'org.apache.maven.scm.provider.hg.command.add.HgAddConsumer' | 34 |
Avoid unused imports such as 'org.codehaus.plexus.util.FileUtils' | 36 |
Avoid unused imports such as 'java.io.IOException' | 39 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.ScmFile' | 22 |
Avoid unused imports such as 'java.io.File' | 27 |
Avoid unused imports such as 'java.util.ArrayList' | 28 |
Avoid unused imports such as 'java.util.List' | 29 |
Violation | Line |
---|---|
Avoid empty catch blocks | 57 - 61 |
Avoid unused local variables such as 'i'. | 107 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.ScmResult' | 25 |
Avoid unused imports such as 'org.apache.maven.scm.provider.hg.command.HgCommand' | 37 |
Avoid unused local variables such as 'file'. | 132 |
Violation | Line |
---|---|
Avoid empty catch blocks | 217 - 220 |
Violation | Line |
---|---|
Avoid empty catch blocks | 158 - 161 |
Avoid empty if statements | 212 - 214 |
Violation | Line |
---|---|
Avoid empty if statements | 131 - 132 |
Violation | Line |
---|---|
These nested if statements could be combined | 69 - 73 |
Violation | Line |
---|---|
Avoid unused imports such as 'sun.security.action.GetLongAction' | 60 |
Avoid unused local variables such as 'line'. | 496 |
Avoid empty while statements | 498 - 500 |
Violation | Line |
---|---|
Avoid empty if statements | 87 - 89 |
Violation | Line |
---|---|
These nested if statements could be combined | 141 - 145 |
Violation | Line |
---|---|
Avoid empty if statements | 94 - 96 |
Violation | Line |
---|---|
Avoid unused private fields such as 'currentDir'. | 56 |
Avoid unused constructor parameters such as 'workingDirectory'. | 76 - 79 |
These nested if statements could be combined | 111 - 114 |
Violation | Line |
---|---|
Avoid empty if statements | 87 - 89 |
Violation | Line |
---|---|
Avoid empty if statements | 102 - 104 |
Avoid empty if statements | 152 - 154 |
Violation | Line |
---|---|
Avoid empty catch blocks | 53 - 55 |
Avoid empty catch blocks | 56 - 58 |
Violation | Line |
---|---|
Avoid unused private fields such as 'START_GETTING'. | 80 |
Violation | Line |
---|---|
Do not use if statements that are always true or always false | 65 |
Violation | Line |
---|---|
Avoid unused private fields such as 'remoteProjectFolder'. | 98 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'line'. | 179 - 186 |
Violation | Line |
---|---|
Avoid empty catch blocks | 119 - 121 |
Avoid empty catch blocks | 122 - 124 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.command.tag.TagScmResult' | 27 |
Avoid unused imports such as 'java.io.File' | 34 |
Violation | Line |
---|---|
Avoid empty catch blocks | 95 - 98 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'workingDirectory'. | 91 - 94 |
Avoid empty if statements | 143 - 145 |
Avoid empty if statements | 147 - 149 |
Avoid empty if statements | 151 - 153 |
Violation | Line |
---|---|
Avoid empty catch blocks | 158 - 161 |
Violation | Line |
---|---|
Avoid empty catch blocks | 53 - 55 |
Avoid empty catch blocks | 56 - 58 |
Violation | Line |
---|---|
Avoid empty catch blocks | 65 - 68 |
Violation | Line |
---|---|
Avoid unused local variables such as 'exitCode'. | 44 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.command.update.UpdateScmResult' | 25 |
Violation | Line |
---|---|
Avoid empty catch blocks | 86 - 89 |
Violation | Line |
---|---|
Avoid unused private fields such as 'repository'. | 58 |
Avoid empty catch blocks | 127 - 129 |
Avoid empty catch blocks | 178 - 181 |
Avoid empty catch blocks | 218 - 221 |
Violation | Line |
---|---|
Avoid empty catch blocks | 200 - 203 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'workingDirectory'. | 81 - 84 |
Violation | Line |
---|---|
Avoid empty catch blocks | 148 - 151 |
Violation | Line |
---|---|
Avoid empty catch blocks | 53 - 56 |
Avoid empty catch blocks | 57 - 60 |
Violation | Line |
---|---|
Avoid empty catch blocks | 110 - 113 |
Violation | Line |
---|---|
Avoid empty catch blocks | 94 - 97 |
Violation | Line |
---|---|
These nested if statements could be combined | 114 - 119 |
Violation | Line |
---|---|
These nested if statements could be combined | 124 - 129 |
Violation | Line |
---|---|
These nested if statements could be combined | 98 - 103 |
Violation | Line |
---|---|
Avoid empty catch blocks | 85 - 88 |
Violation | Line |
---|---|
Avoid empty catch blocks | 110 - 113 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.scm.ScmVersion' | 28 |