PMD Results
The following document contains the results of PMD
4.2.2.
Files
org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java
Violation |
Line |
Avoid unused private fields such as 'defaultEncoding'. |
98
|
Avoid unused private fields such as 'outputDirectory'. |
143
|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
174
|
Avoid empty if statements |
217
- 227
|
org/apache/maven/archetype/mojos/IntegrationTestMojo.java
Violation |
Line |
Avoid unused local variables such as 'testProperties'. |
229
|
org/apache/maven/archetype/mojos/UpdateLocalCatalogMojo.java
Violation |
Line |
Avoid unused private fields such as 'archetypeSources'. |
52
|
Avoid unused private fields such as 'localRepository'. |
70
|
Avoid unused private fields such as 'settings'. |
79
|
Avoid unused private methods such as 'getArchetypeSourceProperties(String,Properties)'. |
141
|
org/apache/maven/archetype/ui/DefaultArchetypeCreationConfigurator.java
Violation |
Line |
Avoid unused method parameters such as 'commandLineProperties'. |
397
- 419
|
Avoid unused private methods such as 'removeDottedProperties(Properties)'. |
421
|
org/apache/maven/archetype/ui/DefaultArchetypeSelector.java
Violation |
Line |
These nested if statements could be combined |
211
- 234
|
Avoid unused private methods such as 'getArchetypeDataSourceProperties(String,Properties)'. |
295
- 296
|